git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b90fbb
)
s4-torture: fixed a pipe leak
author
Andrew Tridgell
<tridge@samba.org>
Tue, 20 Oct 2009 05:34:42 +0000
(16:34 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 20 Oct 2009 05:34:42 +0000
(16:34 +1100)
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 ba8548540c858ffbdbb0db60eaecc35f03726c01..41de9d8c6d050e28ae45689fde97fe6ad4167fac 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;
}