r23951: Fix segfault.
authorGünther Deschner <gd@samba.org>
Wed, 18 Jul 2007 11:21:21 +0000 (11:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:48 +0000 (12:28 -0500)
Guenther

source/libads/ldap.c

index 0b732297362cd1b93def6e234be0c5ba6850f4a2..6c9bde24b04882ab97041f37f54cb5173ad4d57a 100644 (file)
@@ -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);
        }