1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite

Michael
This commit is contained in:
Michael Adam
2009-01-21 17:11:46 +01:00
parent 53ea574255
commit f0f5029fd7

View File

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