summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-04 19:58:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:08 -0500
commit45dc5e1b92d4be8e7e1b613a09fc23746925e49b (patch)
treedf946782d1917447560b83b7182569a93074ff9a /source3/nsswitch
parent3f0f678154039f1906d207e5246d955394b17967 (diff)
downloadsamba-45dc5e1b92d4be8e7e1b613a09fc23746925e49b.tar.gz
samba-45dc5e1b92d4be8e7e1b613a09fc23746925e49b.tar.bz2
samba-45dc5e1b92d4be8e7e1b613a09fc23746925e49b.zip
r23345: Stop Coverity from getting confused.
Jeremy. (This used to be commit 8e83e4267260201777c753c4e3849d65fd20ae8f)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index aac0ef21b3..eba3497675 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/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;