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

index 6e4a424b1c5305e8a7847973570f048d93a27783..a6481e25481401bf3b52df50d5731edf9978d18b 100644 (file)
@@ -605,6 +605,7 @@ int main(int argc, const char *argv[])
        }
 
 done:
+       gfree_all();
        poptFreeContext(pc);
        talloc_destroy(ctx);