diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-20 16:34:42 +1100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-11-26 11:39:43 +0100 |
commit | b0344608ea46649797d130895f7b7b5cb1a70cec (patch) | |
tree | 5979af81d4ee1c9ec6106aff564d543f7b364b5d /source4 | |
parent | 6c3a03e91e0b09dda2fe22fa9b2316bd572217e8 (diff) | |
download | samba-b0344608ea46649797d130895f7b7b5cb1a70cec.tar.gz |
s4-torture: fixed a pipe leak
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an
overallocation of fd's on the server
(cherry picked from commit 3e447ed62138fff14493a76a95a7fd2755e467f0)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/samr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index b3bc5cf7efe..eb3c86ef26f 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; } |