felipe Sat, 15 Aug 2009 14:46:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=287334
Log: - Add check Changed paths: U php/php-src/trunk/ext/ldap/ldap.c Modified: php/php-src/trunk/ext/ldap/ldap.c =================================================================== --- php/php-src/trunk/ext/ldap/ldap.c 2009-08-15 14:41:22 UTC (rev 287333) +++ php/php-src/trunk/ext/ldap/ldap.c 2009-08-15 14:46:34 UTC (rev 287334) @@ -802,7 +802,7 @@ if (ldap_attrs != NULL) { efree(ldap_attrs); } - if (Z_TYPE_P(base_dn) == IS_UNICODE) { + if (Z_TYPE_P(base_dn) == IS_UNICODE && ldap_base_dn) { efree(ldap_base_dn); } if (!ret) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php