diff options
-rw-r--r-- | src/back-sch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/back-sch.c b/src/back-sch.c index dde363c..4ac1dd1 100644 --- a/src/back-sch.c +++ b/src/back-sch.c @@ -1,5 +1,5 @@ /* - * Copyright 2008,2009,2010,2011,2012 Red Hat, Inc. + * Copyright 2008,2009,2010,2011,2012,2013,2014 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -232,6 +232,7 @@ backend_set_config_read_config(struct plugin_state *state, Slapi_Entry *e, } else { ret.check_nsswitch = SCH_NSSWITCH_NONE; } + free(check_nsswitch); } else { ret.check_nsswitch = SCH_NSSWITCH_NONE; } @@ -247,6 +248,7 @@ backend_set_config_read_config(struct plugin_state *state, Slapi_Entry *e, if ((errno != 0) || ((strp != NULL) && (*strp != '\0'))) { ret.nsswitch_min_id = 1000; } + free(nsswitch_min_id); } if (ret.check_nsswitch != SCH_NSSWITCH_NONE) { |