git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a864fc
)
winbind: Fix CID 1398533 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_msrpc.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_msrpc.c
b/source3/winbindd/winbindd_msrpc.c
index 4b742c4c58b0aa57389a62237703c30798e1f084..0d0e4ca6506579357bdc3ad055fe99c443c7d8e6 100644
(file)
--- a/
source3/winbindd/winbindd_msrpc.c
+++ b/
source3/winbindd/winbindd_msrpc.c
@@
-90,6
+90,7
@@
static NTSTATUS msrpc_query_user_list(struct winbindd_domain *domain,
}
done:
+ TALLOC_FREE(rids);
TALLOC_FREE(tmp_ctx);
return status;
}