s3/utils: Add missing poptFreeContext
authorNoel Power <noel.power@suse.com>
Fri, 14 Oct 2022 10:26:24 +0000 (11:26 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 14 Oct 2022 12:37:29 +0000 (12:37 +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>
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;
 }