git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a77df
)
winbind3: Fix CID 241468 Resource leak
author
Volker Lendecke
<vl@samba.org>
Sun, 20 Oct 2013 15:25:27 +0000
(17:25 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 21 Oct 2013 23:34:40 +0000
(16:34 -0700)
We were leaking centry in this error case
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@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 72529276c8e6450c46f473353d825089136cf876..91c19fa2b13c3052d63453804c0448c9ec1648d4 100644
(file)
--- a/
source3/winbindd/winbindd_cache.c
+++ b/
source3/winbindd/winbindd_cache.c
@@
-2090,6
+2090,7
@@
static NTSTATUS rids_to_names(struct winbindd_domain *domain,
} else {
/* something's definitely wrong */
result = centry->status;
+ centry_free(centry);
goto error;
}