From 8e83e4267260201777c753c4e3849d65fd20ae8f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 4 Jun 2007 19:58:11 +0000 Subject: [PATCH] r23345: Stop Coverity from getting confused. Jeremy. --- source/nsswitch/winbindd_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c index aac0ef21b3b..eba34976754 100644 --- 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; -- 2.11.4.GIT