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:
5f024a0
)
winbind: Fix CID 1398531 Resource leak
author
Volker Lendecke
<vl@samba.org>
Tue, 10 Jan 2017 13:24:22 +0000
(13:24 +0000)
committer
Jeremy Allison
<jra@samba.org>
Tue, 10 Jan 2017 23:49:22 +0000
(
00:49
+0100)
Not really a leak due to talloc, but this way it's clear
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_samr.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_samr.c
b/source3/winbindd/winbindd_samr.c
index dd674965f17b02d0f18cda54d049566cbe642220..224f10583482ef1ad6298b55f77f859c98b31f76 100644
(file)
--- a/
source3/winbindd/winbindd_samr.c
+++ b/
source3/winbindd/winbindd_samr.c
@@
-208,6
+208,7
@@
done:
dcerpc_samr_Close(b, mem_ctx, &dom_pol, &result);
}
+ TALLOC_FREE(rids);
TALLOC_FREE(tmp_ctx);
return status;
}