svn commit: samba r13686 - in trunk/source/passdb: .
vlendec at samba.org
vlendec at samba.org
Sat Feb 25 12:04:32 GMT 2006
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;
}
More information about the samba-cvs
mailing list