The branch, v3-2-test has been updated
       via  a2b17597ea4ad171411a972ba4aa0c14b0f2b058 (commit)
      from  d54624159adc91f82f46e0635d59fc7d858db48f (commit)

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


- Log -----------------------------------------------------------------
commit a2b17597ea4ad171411a972ba4aa0c14b0f2b058
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Wed Nov 12 14:03:54 2008 -0800

    Fix memory leak in error path, spotted by Martin Zielinski <[EMAIL 
PROTECTED]>.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_passdb.c 
b/source/winbindd/winbindd_passdb.c
index 5677c01..0cf4540 100644
--- a/source/winbindd/winbindd_passdb.c
+++ b/source/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

Reply via email to