svn commit: samba r23951 - in branches: SAMBA_3_2/source/libads
SAMBA_3_2_0/source/libads
gd at samba.org
gd at samba.org
Wed Jul 18 11:21:22 GMT 2007
Author: gd
Date: 2007-07-18 11:21:21 +0000 (Wed, 18 Jul 2007)
New Revision: 23951
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23951
Log:
Fix segfault.
Guenther
Modified:
branches/SAMBA_3_2/source/libads/ldap.c
branches/SAMBA_3_2_0/source/libads/ldap.c
Changeset:
Modified: branches/SAMBA_3_2/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_2/source/libads/ldap.c 2007-07-18 08:29:00 UTC (rev 23950)
+++ branches/SAMBA_3_2/source/libads/ldap.c 2007-07-18 11:21:21 UTC (rev 23951)
@@ -425,7 +425,7 @@
return ADS_SUCCESS;
}
- ads->ldap.mem_ctx = talloc_new("ads LDAP connection memory");
+ ads->ldap.mem_ctx = talloc_init("ads LDAP connection memory");
if (!ads->ldap.mem_ctx) {
return ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
}
Modified: branches/SAMBA_3_2_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_2_0/source/libads/ldap.c 2007-07-18 08:29:00 UTC (rev 23950)
+++ branches/SAMBA_3_2_0/source/libads/ldap.c 2007-07-18 11:21:21 UTC (rev 23951)
@@ -425,7 +425,7 @@
return ADS_SUCCESS;
}
- ads->ldap.mem_ctx = talloc_new("ads LDAP connection memory");
+ ads->ldap.mem_ctx = talloc_init("ads LDAP connection memory");
if (!ads->ldap.mem_ctx) {
return ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
}
More information about the samba-cvs
mailing list