summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-30 20:14:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-30 13:08:28 +0200
commitfd2b21fc38bfb562de0a14b1b38a31b7bc62288a (patch)
treeddb6c9f2a98cd83ca17560d9412fe1697b6fcf53 /source4/torture/libnet
parent081e7909fc536cdee1c88016efa5d3a22e976926 (diff)
downloadsamba-fd2b21fc38bfb562de0a14b1b38a31b7bc62288a.tar.gz
samba-fd2b21fc38bfb562de0a14b1b38a31b7bc62288a.tar.bz2
samba-fd2b21fc38bfb562de0a14b1b38a31b7bc62288a.zip
s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/userman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index ad4fa92f8c..16e169f6d2 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -65,7 +65,7 @@ static bool test_useradd_async(struct torture_context *tctx,
torture_comment(tctx, "Testing async libnet_rpc_useradd\n");
- c = libnet_rpc_useradd_send(p, &user, msg_handler);
+ c = libnet_rpc_useradd_send(p, mem_ctx, &user, msg_handler);
if (!c) {
torture_comment(tctx, "Failed to call async libnet_rpc_useradd\n");
return false;