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

index 3e8fdacd43e051f9824d4c2f7d9bce2175bc82f1..5d44aebeb14fbe262030fd08cfdebcafc7ee40fb 100644 (file)
@@ -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);
 }
 /* }}} */