]> granicus.if.org Git - php/commitdiff
- That should have been removed, not commented out.
authorDerick Rethans <derick@php.net>
Thu, 2 Jun 2005 08:51:20 +0000 (08:51 +0000)
committerDerick Rethans <derick@php.net>
Thu, 2 Jun 2005 08:51:20 +0000 (08:51 +0000)
ext/standard/string.c

index 4ad96e57254f6aa4cadcb39a39e8f961d13eb9f1..9849e5ee8bb2298f63ecf5b6871da593b9c5cf7d 100644 (file)
@@ -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);
 }
 /* }}} */