[SCM] Samba Shared Repository - branch v3-6-test updated

Volker Lendecke vlendec at samba.org
Tue Dec 28 10:32:55 MST 2010


The branch, v3-6-test has been updated
       via  cef866a Fix a memleak in nss_wins
      from  02f21dc s3:winbindd: remove useless ';'

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


- Log -----------------------------------------------------------------
commit cef866ad8021f85a9c89d1749d47fb2178930244
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Dec 28 17:08:57 2010 +0100

    Fix a memleak in nss_wins

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

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


Changeset truncated at 500 lines:

diff --git a/nsswitch/wins.c b/nsswitch/wins.c
index aa02f32..913e833 100644
--- a/nsswitch/wins.c
+++ b/nsswitch/wins.c
@@ -152,6 +152,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
 				return NULL;
 			}
 			*ret = ((struct sockaddr_in *)pss)->sin_addr;
+			SAFE_FREE(pss);
 			break;
 		}
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list