From: Derick Rethans Date: Thu, 2 Jun 2005 08:51:10 +0000 (+0000) Subject: - That should have been removed, not commented out. X-Git-Tag: php-5.0.5RC1~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62a06d2d9ec362e87db1ff36982d3f69d1913dd1;p=php - That should have been removed, not commented out. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 298fbb8378..713e521b94 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1382,8 +1382,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; } @@ -1409,8 +1407,6 @@ PHP_FUNCTION(stristr) RETVAL_FALSE; } -// zval_ptr_dtor(haystack); -// zval_ptr_dtor(needle); efree(haystack_orig); } /* }}} */