source3/lib/smbconf/testsuite.c: fix stackframe leak
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:37:31 +0000 (05:07 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:37:31 +0000 (05:07 +0930)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source3/lib/smbconf/testsuite.c

index 5638fd24540422e85a54b6f49a67074e11f51f75..79083614eeebb0856c29861870b41b79f6b0dba5 100644 (file)
@@ -175,6 +175,7 @@ static bool test_delete_includes(struct smbconf_ctx *ctx)
        ret = true;
 
 done:
+       talloc_free(mem_ctx);
        return ret;
 }