git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4042d2c
)
r23345: Stop Coverity from getting confused.
author
Jeremy Allison
<jra@samba.org>
Mon, 4 Jun 2007 19:58:11 +0000
(19:58 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:08 +0000
(12:23 -0500)
Jeremy.
source/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cache.c
b/source/nsswitch/winbindd_cache.c
index aac0ef21b3be9931dd72aa51ccc9c58ca4095b05..eba349767548afd86831c56ca39dea698bc74a6f 100644
(file)
--- a/
source/nsswitch/winbindd_cache.c
+++ b/
source/nsswitch/winbindd_cache.c
@@
-3617,6
+3617,7
@@
static int pack_tdc_domains( struct winbindd_tdc_domain *domains,
}
if ( buflen < len ) {
+ SAFE_FREE(buffer);
if ( (buffer = SMB_MALLOC_ARRAY(unsigned char, len)) == NULL ) {
DEBUG(0,("pack_tdc_domains: failed to alloc buffer!\n"));
buflen = -1;