summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-06-02 08:50:52 +0000
committerDerick Rethans <derick@php.net>2005-06-02 08:50:52 +0000
commit5955cb64bbc67e375eabf603dd7a17c39a852306 (patch)
treef946d1d407e4f1bac9f97f8dfa013462e682f4c2
parent0d3b976c03f8ffe046c80090561fd72040a28234 (diff)
downloadphp-git-5955cb64bbc67e375eabf603dd7a17c39a852306.tar.gz
- That should have been removed, not commented out.
-rw-r--r--ext/standard/string.c4
1 files changed, 0 insertions, 4 deletions
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);
}
/* }}} */