cvs: php-src /ext/standard string.c
| From: | Derick Rethans | Date: | Thu, 02 Jun 2005 08:51:20 +0000 |
| Subject: | cvs: php-src /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32080@lists.php.net to get a copy of this message | ||
derick Thu Jun 2 04:51:20 2005 EDT
Modified files:
/php-src/ext/standard string.c
Log:
- That should have been removed, not commented out.
http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.438&r2=1.439&ty=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.438 php-src/ext/standard/string.c:1.439
--- php-src/ext/standard/string.c:1.438 Thu Jun 2 04:29:37 2005
+++ php-src/ext/standard/string.c Thu Jun 2 04:51:20 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.438 2005/06/02 08:29:37 derick Exp $ */
+/* $Id: string.c,v 1.439 2005/06/02 08:51:20 derick Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -1430,8 +1430,6 @@
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 @@
RETVAL_FALSE;
}
-// zval_ptr_dtor(haystack);
-// zval_ptr_dtor(needle);
efree(haystack_orig);
}
/* }}} */