s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite
authorMichael Adam <obnox@samba.org>
Wed, 21 Jan 2009 16:11:46 +0000 (17:11 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 21 Jan 2009 17:40:56 +0000 (18:40 +0100)
Michael

source3/lib/smbconf/testsuite.c

index edc9a7ffac862bc5a8d8c2f5e4c6e08586b3b581..3d3c2d0ff09d933c45f22c454f5df453c5d3fe6c 100644 (file)
@@ -57,7 +57,7 @@ static bool test_get_includes(struct smbconf_ctx *ctx)
        ret = true;
 
 done:
-       TALLOC_FREE(mem_ctx);
+       talloc_free(mem_ctx);
        return ret;
 }
 
@@ -114,7 +114,7 @@ static bool test_set_get_includes(struct smbconf_ctx *ctx)
        ret = true;
 
 done:
-       TALLOC_FREE(mem_ctx);
+       talloc_free(mem_ctx);
        return ret;
 }
 
@@ -235,7 +235,7 @@ static bool torture_smbconf_txt(void)
        printf("%s: text backend\n", ret ? "success" : "failure");
 
 done:
-       TALLOC_FREE(mem_ctx);
+       talloc_free(mem_ctx);
        return ret;
 }
 
@@ -266,7 +266,7 @@ static bool torture_smbconf_reg(void)
        printf("%s: registry backend\n", ret ? "success" : "failure");
 
 done:
-       TALLOC_FREE(mem_ctx);
+       talloc_free(mem_ctx);
        return ret;
 }
 
@@ -315,6 +315,6 @@ int main(int argc, const char **argv)
        ret = torture_smbconf();
 
 done:
-       TALLOC_FREE(mem_ctx);
+       talloc_free(mem_ctx);
        return ret ? 0 : -1;
 }