summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-10-24 12:01:24 +0200
committerAndrew Bartlett <abartlet@samba.org>2023-10-25 22:23:37 +0000
commit6d482485ca9254713fa8953f94de5dd58083efbc (patch)
treec6f96ad8b604e076df094e30de51bf65cdab1686 /source3/utils
parent9428fa3599a28a9bfe5fa9a2b29e668320d84c65 (diff)
downloadsamba-6d482485ca9254713fa8953f94de5dd58083efbc.tar.gz
samba-6d482485ca9254713fa8953f94de5dd58083efbc.tar.bz2
samba-6d482485ca9254713fa8953f94de5dd58083efbc.zip
s3:utils: Call gfree_all() before exit in smbcontrol
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index a9226c835d6..b318f5547d5 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -1863,6 +1863,7 @@ int main(int argc, const char **argv)
ret = !do_command(evt_ctx, msg_ctx, argc, argv);
cmdline_messaging_context_free();
+ gfree_all();
poptFreeContext(pc);
TALLOC_FREE(frame);
return ret;