From: Derick Rethans Date: Thu, 2 Jun 2005 08:51:20 +0000 (+0000) Subject: - That should have been removed, not commented out. X-Git-Tag: php-5.0.1b1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad21bb1baa0484c398ea5c1a6cfa1a2b3a0ac753;p=php - That should have been removed, not commented out. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 4ad96e5725..9849e5ee8b 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1430,8 +1430,6 @@ PHP_FUNCTION(stristr) if (!Z_STRLEN_PP(needle)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty delimiter."); efree(haystack_orig); -// zval_ptr_dtor(haystack); -// zval_ptr_dtor(needle); RETURN_FALSE; } @@ -1457,8 +1455,6 @@ PHP_FUNCTION(stristr) RETVAL_FALSE; } -// zval_ptr_dtor(haystack); -// zval_ptr_dtor(needle); efree(haystack_orig); } /* }}} */