summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-20 16:34:42 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-20 16:34:42 +1100
commit2c34112e58ffda36dd2131016488035e625022b3 (patch)
tree9ef6c2c1751ce1734dec52363d52999a0d339879 /source4/torture/rpc
parent2b90fbb579d219dc013c3e6ce348644fd5f2b09f (diff)
downloadsamba-2c34112e58ffda36dd2131016488035e625022b3.tar.gz
samba-2c34112e58ffda36dd2131016488035e625022b3.tar.bz2
samba-2c34112e58ffda36dd2131016488035e625022b3.zip
s4-torture: fixed a pipe leak
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index ba8548540c..41de9d8c6d 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -3275,6 +3275,8 @@ static bool test_SetPassword_pwdlastset(struct dcerpc_pipe *p,
#undef TEST_SET_LEVELS
#undef TEST_QUERY_LEVELS
+ talloc_free(np);
+
return ret;
}