s4: free popt context in torture
[gd/samba-autobuild/.git] / source4 / torture / masktest.c
index 9a047e2b70809b05348af79f92cbcb374d58ba21..5b9d1b2901f1d38528eeb812011c16b45d45a5d2 100644 (file)
@@ -387,6 +387,7 @@ int main(int argc, const char *argv[])
 
        test_mask(argc_new-1, argv_new+1, mem_ctx, cli);
 
+       poptFreeContext(pc);
        talloc_free(mem_ctx);
        return(0);
 }