From 62a06d2d9ec362e87db1ff36982d3f69d1913dd1 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 2 Jun 2005 08:51:10 +0000 Subject: [PATCH] - That should have been removed, not commented out. --- ext/standard/string.c | 4 ---- 1 file changed, 4 deletions(-) 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); } /* }}} */ -- 2.40.0