From 0653f78bcc79842fbe53a7022cd221cd86c512d6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 24 Oct 2023 11:57:14 +0200 Subject: [PATCH] s3:utils: Call gfree_all() before exit in net Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source3/utils/net.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.47.3