From: Andreas Schneider Date: Tue, 24 Oct 2023 09:57:14 +0000 (+0200) Subject: s3:utils: Call gfree_all() before exit in net X-Git-Tag: talloc-2.4.2~1119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0653f78bcc79842fbe53a7022cd221cd86c512d6;p=thirdparty%2Fsamba.git s3:utils: Call gfree_all() before exit in net Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source3/utils/net.c b/source3/utils/net.c index 3106463a2a1..72878f4280d 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -1378,6 +1378,9 @@ static struct functable net_func[] = { poptFreeContext(pc); cmdline_messaging_context_free(); + + gfree_all(); + TALLOC_FREE(frame); return rc; }