summaryrefslogtreecommitdiffstats
path: root/source/libads
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
commit1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88 (patch)
tree5d3688cf2f3c223ce336348ec5c80cdf2f6060b2 /source/libads
parent63c4c40cf7055ab7cf413a23e306cf209a1dd0a1 (diff)
downloadsamba-1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88.tar.gz
samba-1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88.tar.xz
samba-1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88.zip
r23951: Fix segfault.
Guenther
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index 0b732297362..6c9bde24b04 100644
--- a/source/libads/ldap.c
+++ b/source/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);
}