summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwen Schillig <swen@linux.ibm.com>2019-08-19 14:31:23 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-08-22 00:21:50 +0000
commit24aa50170bb7824c753e6b56c112cec3db02d8af (patch)
treea7311253fb03325faf185a2adeabfa9699895319
parent72d3604a9c4ee4325fef9b3a160445dc961c863e (diff)
downloadsamba-24aa50170bb7824c753e6b56c112cec3db02d8af.tar.gz
s4: free popt context in utils
If done with popt context it should be free'd. Signed-off-by: Swen Schillig <swen@linux.ibm.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
-rw-r--r--source4/utils/oLschema2ldif/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/utils/oLschema2ldif/main.c b/source4/utils/oLschema2ldif/main.c
index 10bfaad1ba2..601b8a8f1f2 100644
--- a/source4/utils/oLschema2ldif/main.c
+++ b/source4/utils/oLschema2ldif/main.c
@@ -128,5 +128,7 @@ static void usage(void)
printf("Converted %d records with %d failures\n", ret.count, ret.failures);
+ poptFreeContext(pc);
+
return 0;
}