From: Michael Adam Date: Wed, 21 Jan 2009 16:11:46 +0000 (+0100) Subject: s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite X-Git-Tag: samba-4.0.0alpha7~438^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0f5029fd73e2c6edcaac4e381bc12316fe381cc;p=thirdparty%2Fsamba.git s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite Michael --- diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c index edc9a7ffac8..3d3c2d0ff09 100644 --- a/source3/lib/smbconf/testsuite.c +++ b/source3/lib/smbconf/testsuite.c @@ -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; }