From 2c34112e58ffda36dd2131016488035e625022b3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Oct 2009 16:34:42 +1100 Subject: s4-torture: fixed a pipe leak The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server --- source4/torture/rpc/samr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/rpc/samr.c') 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; } -- cgit