[SCM] Samba Shared Repository - branch master updated - d67e7f3e15d73201dce2b73ce74c5d5c1cbcf524

Jeremy Allison jra at samba.org
Wed Nov 12 22:07:22 GMT 2008


The branch, master has been updated
       via  d67e7f3e15d73201dce2b73ce74c5d5c1cbcf524 (commit)
      from  d38bffd4126062b92384f0930196059441a2d765 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d67e7f3e15d73201dce2b73ce74c5d5c1cbcf524
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Nov 12 14:06:47 2008 -0800

    Fix memory leak in error path, spotted by Martin Zielinski <mz at seh.de>.
    Jeremy.

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

Summary of changes:
 source3/winbindd/winbindd_passdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_passdb.c b/source3/winbindd/winbindd_passdb.c
index 5677c01..0cf4540 100644
--- a/source3/winbindd/winbindd_passdb.c
+++ b/source3/winbindd/winbindd_passdb.c
@@ -267,6 +267,7 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
 	}
 
 	if ( !pdb_getsampwsid( user, user_sid ) ) {
+		TALLOC_FREE( user );
 		return NT_STATUS_NO_SUCH_USER;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list