summaryrefslogtreecommitdiff
path: root/source3/libads/ldap.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-07-18 11:21:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:48 -0500
commite6875b1b45577917ff9b465623502f49755aa612 (patch)
tree48f627d974131e30688d9c953d0d44a953db363f /source3/libads/ldap.c
parent67b0553f56c3757d734e6041d6ac69ee8ddfad6d (diff)
downloadsamba-e6875b1b45577917ff9b465623502f49755aa612.tar.gz
samba-e6875b1b45577917ff9b465623502f49755aa612.tar.bz2
samba-e6875b1b45577917ff9b465623502f49755aa612.zip
r23951: Fix segfault.
Guenther (This used to be commit 1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88)
Diffstat (limited to 'source3/libads/ldap.c')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 0b73229736..6c9bde24b0 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);
}