From: Swen Schillig Date: Mon, 19 Aug 2019 12:29:22 +0000 (+0200) Subject: s4: free popt context in client X-Git-Tag: tevent-0.10.1~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d3604a9c4ee4325fef9b3a160445dc961c863e;p=thirdparty%2Fsamba.git s4: free popt context in client 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/client/cifsdd.c b/source4/client/cifsdd.c index dfdaf048b3f..dadff84bda5 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -689,6 +689,8 @@ int main(int argc, const char ** argv) CatchSignal(SIGINT, dd_handle_signal); CatchSignal(SIGUSR1, dd_handle_signal); rc = copy_files(ev, cmdline_lp_ctx); + + poptFreeContext(pctx); talloc_free(ev); return rc; }