summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-21 17:11:46 +0100
committerMichael Adam <obnox@samba.org>2009-01-21 18:40:56 +0100
commitf0f5029fd73e2c6edcaac4e381bc12316fe381cc (patch)
tree6a4b5b1977f210f230fa17955dae22af563cc106 /source3/lib/smbconf
parent53ea5742554f1a7064e5836df5d05ea2632b3088 (diff)
downloadsamba-f0f5029fd73e2c6edcaac4e381bc12316fe381cc.tar.gz
samba-f0f5029fd73e2c6edcaac4e381bc12316fe381cc.tar.bz2
samba-f0f5029fd73e2c6edcaac4e381bc12316fe381cc.zip
s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite
Michael
Diffstat (limited to 'source3/lib/smbconf')
-rw-r--r--source3/lib/smbconf/testsuite.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c
index edc9a7ffac..3d3c2d0ff0 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;
}