summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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);
}