[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2761-gfe882a5

Volker Lendecke vl at samba.org
Thu Mar 6 10:33:24 GMT 2008


The branch, v3-2-test has been updated
       via  fe882a575152233de6f4bf2143aca681319b0226 (commit)
      from  8e33d19d93ef57a9438aad085aaf04b7c09fe09b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit fe882a575152233de6f4bf2143aca681319b0226
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Mar 6 11:37:01 2008 +0100

    Fix a memleak
    
    Fixes Coverity ID 557

-----------------------------------------------------------------------

Summary of changes:
 source/nsswitch/wins.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/wins.c b/source/nsswitch/wins.c
index 35649df..e74cfaf 100644
--- a/source/nsswitch/wins.c
+++ b/source/nsswitch/wins.c
@@ -110,6 +110,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
 		}
 		if (address[0].ss.ss_family != AF_INET) {
 			free(address);
+			free(ret);
 			return NULL;
 		}
 		*ret = ((struct sockaddr_in *)&address[0].ss)->sin_addr;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list