samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13686 - in trunk/source/passdb: .

Subject: svn commit: samba r13686 - in trunk/source/passdb: .
From:
Date: Sat, 25 Feb 2006 12:04:32 +0000 GMT
Author: vlendec
Date: 2006-02-25 12:04:31 +0000 (Sat, 25 Feb 2006)
New Revision: 13686

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13686

Log:
Remove double-free
Modified:
   trunk/source/passdb/pdb_ldap.c


Changeset:
Modified: trunk/source/passdb/pdb_ldap.c
===================================================================
--- trunk/source/passdb/pdb_ldap.c      2006-02-25 06:35:22 UTC (rev 13685)
+++ trunk/source/passdb/pdb_ldap.c      2006-02-25 12:04:31 UTC (rev 13686)
@@ -4584,7 +4584,6 @@
 
        if (num_result > 1) {
                DEBUG (0, ("ldapsam_create_user: There exists more than one 
iuser with name [%s]: bailing out!\n", name));
-               ldap_msgfree(result);
                return NT_STATUS_INTERNAL_DB_CORRUPTION;
        }
        
@@ -4785,7 +4784,6 @@
 
        if (num_result > 1) {
                DEBUG (0, ("ldapsam_create_group: There exists more than one 
group with name [%s]: bailing out!\n", name));
-               ldap_msgfree(result);
                return NT_STATUS_INTERNAL_DB_CORRUPTION;
        }
        

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13686 - in trunk/source/passdb: ., vlendec <=