From: Derick Rethans Date: Thu, 2 Jun 2005 08:50:52 +0000 (+0000) Subject: - That should have been removed, not commented out. X-Git-Tag: php-4.4.0RC1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5955cb64bbc67e375eabf603dd7a17c39a852306;p=php - That should have been removed, not commented out. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 3e8fdacd43..5d44aebeb1 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1317,8 +1317,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; } @@ -1339,8 +1337,6 @@ PHP_FUNCTION(stristr) RETVAL_FALSE; } -// zval_ptr_dtor(haystack); -// zval_ptr_dtor(needle); efree(haystack_orig); } /* }}} */