summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-10-24 12:03:40 +0200
committerAndrew Bartlett <abartlet@samba.org>2023-10-25 22:23:37 +0000
commitbbda37e4e3d3dad3edcc50331f93332dc5e25619 (patch)
treec2becb8a28612b900d87c9d434c24ccde6f77f25 /source3/utils
parent8a873f89773dfef58ff7f3e846c942d22421d0c2 (diff)
downloadsamba-bbda37e4e3d3dad3edcc50331f93332dc5e25619.tar.gz
samba-bbda37e4e3d3dad3edcc50331f93332dc5e25619.tar.bz2
samba-bbda37e4e3d3dad3edcc50331f93332dc5e25619.zip
s3:utils: Call gfree_all() before exit in smbget
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/smbget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 34a9839048e..a43679328c1 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -1028,6 +1028,7 @@ int main(int argc, char **argv)
}
done:
+ gfree_all();
poptFreeContext(pc);
TALLOC_FREE(frame);
if (ok) {