diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-24 13:49:52 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-24 16:43:03 +0200 |
commit | 84ae92da6ba4a060bd53cb73c83a86c0cc699115 (patch) | |
tree | 73b61d4fb37b7b81364be2dc0e4f779dfeded96a /source4/torture/libnet | |
parent | d38a171a43d3298d64adfa2a2869e84e560d3107 (diff) | |
download | samba-84ae92da6ba4a060bd53cb73c83a86c0cc699115.tar.gz samba-84ae92da6ba4a060bd53cb73c83a86c0cc699115.tar.bz2 samba-84ae92da6ba4a060bd53cb73c83a86c0cc699115.zip |
s4:libnet: pass an explicit mem_ctx to libnet_rpc_userinfo_send() (bug #8889)
This hopefully fixes the flakey autobuild.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Apr 24 16:43:03 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r-- | source4/torture/libnet/userinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c index 042212f4aa..3d592b3de7 100644 --- a/source4/torture/libnet/userinfo.c +++ b/source4/torture/libnet/userinfo.c @@ -85,7 +85,7 @@ static bool test_userinfo_async(struct torture_context *tctx, torture_comment(tctx, "Testing async libnet_rpc_userinfo (SID argument)\n"); - c = libnet_rpc_userinfo_send(p, &user, msg_handler); + c = libnet_rpc_userinfo_send(p, mem_ctx, &user, msg_handler); torture_assert(tctx, c != NULL, "Failed to call async libnet_rpc_userinfo_send"); status = libnet_rpc_userinfo_recv(c, mem_ctx, &user); @@ -100,7 +100,7 @@ static bool test_userinfo_async(struct torture_context *tctx, torture_comment(tctx, "Testing async libnet_rpc_userinfo (username argument)\n"); - c = libnet_rpc_userinfo_send(p, &user, msg_handler); + c = libnet_rpc_userinfo_send(p, mem_ctx, &user, msg_handler); torture_assert(tctx, c != NULL, "Failed to call async libnet_rpc_userinfo_send"); status = libnet_rpc_userinfo_recv(c, mem_ctx, &user); |