s3:utils: Call gfree_all() before exit in regedit
authorAndreas Schneider <asn@samba.org>
Tue, 24 Oct 2023 09:59:35 +0000 (11:59 +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/regedit.c

index f81058284f89989806295d39c5bac739c61fc886..32590766921b7129ad1ec4c88855b04051f654ae 100644 (file)
@@ -827,6 +827,8 @@ int main(int argc, char **argv)
 
        display_window(frame, ctx);
 
+       gfree_all();
+
        TALLOC_FREE(frame);
 
        return 0;