summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/libnet/libnet_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_user.c b/source4/torture/libnet/libnet_user.c
index 2e5dc96448..38cc81926f 100644
--- a/source4/torture/libnet/libnet_user.c
+++ b/source4/torture/libnet/libnet_user.c
@@ -118,7 +118,7 @@ BOOL torture_createuser(void)
return False;
}
- if (!test_cleanup(ctx->samr, mem_ctx, &ctx->domain_handle, TEST_USERNAME)) {
+ if (!test_cleanup(ctx->pipe, mem_ctx, &ctx->domain_handle, TEST_USERNAME)) {
printf("cleanup failed\n");
return False;
}