summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-04-16 18:08:08 +0800
committerXinchen Hui <laruence@gmail.com>2014-04-16 18:08:08 +0800
commitce49e6b0f73d9d8b51bd85d40abb5008a496f700 (patch)
treeef047eae18ffb76e808bd2d552b72eaad832dd83 /Zend/zend_execute_API.c
parenta16a6eae2400ca27900507a44801645a4b6b3927 (diff)
parent78f428d3a825acae74a975747f25cd6782606633 (diff)
downloadphp-git-ce49e6b0f73d9d8b51bd85d40abb5008a496f700.tar.gz
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 2db5fd397c..a72fb5dd6d 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;
}