From: Swen Schillig Date: Mon, 19 Aug 2019 12:31:23 +0000 (+0200) Subject: s4: free popt context in utils X-Git-Tag: tevent-0.10.1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24aa50170bb7824c753e6b56c112cec3db02d8af;p=thirdparty%2Fsamba.git s4: free popt context in utils If done with popt context it should be free'd. Signed-off-by: Swen Schillig Reviewed-by: Andrew Bartlett Reviewed-by: Ralph Böhme --- 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; }