From: Stig Venaas Date: Wed, 14 Nov 2001 22:05:33 +0000 (+0000) Subject: Fixed some memory leaks and removed some unnecessary checks due to X-Git-Tag: ChangeLog~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dd9845e98871f3186e99b6fffb8db686b08afc3;p=php Fixed some memory leaks and removed some unnecessary checks due to ZEND_FETCH_RESOURCE returning on error --- diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 2237a760e1..b8794fadfd 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -654,8 +654,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) for (i=0; i