com php-src: Removed invalid STR_RELEASE(): Zend/zend _execute_API.c
| From: | Dmitry Stogov | Date: | Wed, 16 Apr 2014 08:28:20 +0000 |
| Subject: | com php-src: Removed invalid STR_RELEASE(): Zend/zend _execute_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77386@lists.php.net to get a copy of this message | ||
Commit: fb4e0a63643e03f23e4a1a24892b93635566184a
Author: Dmitry Stogov <dmitry@zend.com> Wed, 16 Apr 2014 12:28:20 +0400
Parents: 81b24d4100bf229844e4980c79f27763827f10d2
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fb4e0a63643e03f23e4a1a24892b93635566184a
Log:
Removed invalid STR_RELEASE()
Changed paths:
M Zend/zend_execute_API.c
Diff:
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 2db5fd3..a72fb5d 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -522,7 +522,6 @@ ZEND_API int zval_update_constant_ex(zval *p, void *arg, zend_class_entry *scope
actual_len -= (actual - Z_STRVAL_P(p));
if (inline_change) {
zend_string *s = STR_INIT(actual, actual_len, 0);
- STR_RELEASE(Z_STR_P(p));
Z_STR_P(p) = s;
Z_TYPE_FLAGS_P(p) = IS_TYPE_REFCOUNTED | IS_TYPE_COPYABLE;
}