s3:utils: Call gfree_all() before exit in smbget
authorAndreas Schneider <asn@samba.org>
Tue, 24 Oct 2023 10:03:40 +0000 (12:03 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Oct 2023 22:23:37 +0000 (22:23 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/utils/smbget.c

index 34a9839048e5e8809380cfac027a74e4d9604d5d..a43679328c12105176c17be39353375f8b9eb5d9 100644 (file)
@@ -1028,6 +1028,7 @@ int main(int argc, char **argv)
        }
 
 done:
+       gfree_all();
        poptFreeContext(pc);
        TALLOC_FREE(frame);
        if (ok) {