s4: free popt context in utils
authorSwen Schillig <swen@linux.ibm.com>
Mon, 19 Aug 2019 12:31:23 +0000 (14:31 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 22 Aug 2019 00:21:50 +0000 (00:21 +0000)
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>
source4/utils/oLschema2ldif/main.c

index 10bfaad1ba2130ae6bdfd0e19a212a9aabdb02cd..601b8a8f1f22dbd3c6831df3627d56c485210a0e 100644 (file)
@@ -128,5 +128,7 @@ static void usage(void)
 
        printf("Converted %d records with %d failures\n", ret.count, ret.failures);
 
+       poptFreeContext(pc);
+
        return 0;
 }