summaryrefslogtreecommitdiffstats
path: root/server/tests/fail_over-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/fail_over-tests.c')
-rw-r--r--server/tests/fail_over-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/fail_over-tests.c b/server/tests/fail_over-tests.c
index c3e9dfe52..e794f03b5 100644
--- a/server/tests/fail_over-tests.c
+++ b/server/tests/fail_over-tests.c
@@ -62,7 +62,7 @@ setup_test(void)
struct test_ctx *ctx;
int ret;
- ctx = talloc_zero(NULL, struct test_ctx);
+ ctx = talloc_zero(global_talloc_context, struct test_ctx);
fail_if(ctx == NULL, "Could not allocate memory for test context");
ctx->ev = tevent_context_init(ctx);