From 9a98c38cbd14b474f7032aca0866a824920a809d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 6 Apr 2004 23:14:06 +0000 Subject: [PATCH] Removed pointless check. --- ext/ldap/ldap.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 2577f3ba3a..2308bfda2a 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -399,9 +399,6 @@ PHP_FUNCTION(ldap_connect) } ld = ecalloc(1, sizeof(ldap_linkdata)); - if (ld == NULL) { - RETURN_FALSE; - } #ifdef LDAP_API_FEATURE_X_OPENLDAP if (host != NULL && strchr(host, '/')) { -- 2.50.1