summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-04 07:44:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:46 -0500
commitae24bf52515766cb446eab6381ca011d5a234c08 (patch)
tree2f77e19f2636e1093676bb129b6342aca72972ad /source4/torture
parent07aa4d8fe24cb56ea030cff6502fe029106bc0d2 (diff)
downloadsamba-ae24bf52515766cb446eab6381ca011d5a234c08.tar.gz
samba-ae24bf52515766cb446eab6381ca011d5a234c08.tar.bz2
samba-ae24bf52515766cb446eab6381ca011d5a234c08.zip
r1647: destroy mem_ctx
metze (This used to be commit 973ac69a012e579a09807d635061ff3550a10719)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/netlogon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index f668c17d89..b08be80bb0 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1713,7 +1713,9 @@ BOOL torture_rpc_netlogon(int dummy)
ret = False;
}
- torture_rpc_close(p);
+ talloc_destroy(mem_ctx);
+
+ torture_rpc_close(p);
torture_leave_domain(join_ctx);