summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-06-20 17:14:58 +0000
committerAndi Gutmans <andi@php.net>2001-06-20 17:14:58 +0000
commit1aa5b19cc9467df6ffa56ce28a527878d4d0911a (patch)
tree6d098e8007add6cbe590efcfd8b5b33e8698f667
parent03ae0d775b3b5d4ca4c0f0342869f8346468221b (diff)
downloadphp-git-1aa5b19cc9467df6ffa56ce28a527878d4d0911a.tar.gz
- Fix string offsets crash.
-rw-r--r--Zend/zend_execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 4b63c98a7f..9a105fff82 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -282,7 +282,7 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
if (op2
&& op2->op_type == IS_VAR
&& value==&Ts[op2->u.var].tmp_var) {
- efree(value->value.str.val);
+ STR_FREE(value->value.str.val);
}
if (final_value == &tmp) {
zval_dtor(final_value);