git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f68deb
)
s4-torture: fixed a pipe leak
author
Andrew Tridgell
<tridge@samba.org>
Tue, 20 Oct 2009 05:34:42 +0000
(16:34 +1100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 21 Oct 2009 23:53:35 +0000
(16:53 -0700)
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an
overallocation of fd's on the server
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index b3bc5cf7efe46cdfc4b8aaa14aeef041d56f3a01..eb3c86ef26ff6868bf9620b6f8b49ef35872cef3 100644
(file)
--- 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;
}