From: Günther Deschner Date: Wed, 18 Jul 2007 11:21:21 +0000 (+0000) Subject: r23951: Fix segfault. X-Git-Tag: samba-4.0.0alpha6~801^2~5309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6875b1b45577917ff9b465623502f49755aa612;p=thirdparty%2Fsamba.git r23951: Fix segfault. Guenther (This used to be commit 1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88) --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 0b732297362..6c9bde24b04 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -425,7 +425,7 @@ got_connection: 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); }