]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:utils: Call gfree_all() before exit in pdbedit
authorAndreas Schneider <asn@samba.org>
Tue, 24 Oct 2023 09:58:49 +0000 (11:58 +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/pdbedit.c

index 554eaf0ed67a33550f01ecc319067935bd758e81..eb6b98239028b89c45551ef1dce99c9ff577dba6 100644 (file)
@@ -1407,6 +1407,7 @@ int main(int argc, const char **argv)
        }
        poptPrintHelp(pc, stderr, 0);
 
+       gfree_all();
        poptFreeContext(pc);
        TALLOC_FREE(frame);
        return 1;