summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-11 14:52:37 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-11 15:13:52 +0100
commit4585ea06a565920ac109cf1b3890e48a3d975093 (patch)
tree80e4b52fe0b324242c562376a6cd854503bb1cbf /source4/torture
parent10b97ed9e423d7c13e9b2daf118764a73db9096a (diff)
downloadsamba-4585ea06a565920ac109cf1b3890e48a3d975093.tar.gz
samba-4585ea06a565920ac109cf1b3890e48a3d975093.tar.bz2
samba-4585ea06a565920ac109cf1b3890e48a3d975093.zip
s4:torture/libnet/libnet_user.c: fix double free in error path
metze
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/libnet/libnet_user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_user.c b/source4/torture/libnet/libnet_user.c
index 3bb962c2fa..02ae2a1cff 100644
--- a/source4/torture/libnet/libnet_user.c
+++ b/source4/torture/libnet/libnet_user.c
@@ -654,7 +654,6 @@ bool torture_userinfo_api(struct torture_context *torture)
if (!NT_STATUS_IS_OK(status)) {
printf("libnet_UserInfo call failed: %s\n", nt_errstr(status));
ret = false;
- talloc_free(mem_ctx);
goto done;
}