git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8be08
)
winbind: Don't leak centry memory.
author
Andreas Schneider
<asn@samba.org>
Wed, 20 Feb 2013 08:51:43 +0000
(09:51 +0100)
committer
Alexander Bokovoy
<ab@samba.org>
Fri, 22 Feb 2013 15:36:14 +0000
(16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/winbindd/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cache.c
b/source3/winbindd/winbindd_cache.c
index 4b1e16c27948a1fa1e0208a3916c55e9a5d8fd17..d0603d11c9b1eff8391daef60c694e282e944232 100644
(file)
--- a/
source3/winbindd/winbindd_cache.c
+++ b/
source3/winbindd/winbindd_cache.c
@@
-2144,6
+2144,7
@@
static NTSTATUS rids_to_names(struct winbindd_domain *domain,
} else {
/* something's definitely wrong */
result = centry->status;
+ centry_free(centry);
goto error;
}