diff options
-rw-r--r-- | ext/ldap/ldap.c | 3 |
1 files changed, 0 insertions, 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, '/')) { |