s3/utils: Add missing poptFreeContext
authorNoel Power <noel.power@suse.com>
Fri, 14 Oct 2022 10:26:24 +0000 (11:26 +0100)
committerJule Anger <janger@samba.org>
Tue, 18 Oct 2022 13:32:11 +0000 (13:32 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15205

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 31d3d10b260f05080ca0a3cf9434aa4704d60739)

source3/utils/mdsearch.c

index ac0b75fca513b9dfbcf80b771b447ad26c37d1b7..ab48e366a0a5c1bca11d211a7c173c2a1bfbaca0 100644 (file)
@@ -242,6 +242,7 @@ int main(int argc, char **argv)
        return 0;
 
 fail:
+       poptFreeContext(pc);
        TALLOC_FREE(frame);
        return 1;
 }