summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_execute.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index b452b83fbc..52c5b80037 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -97,6 +97,10 @@ static inline zval *_get_zval_ptr(znode *node, temp_variable *Ts, zval **should_
}
}
break;
+ case IS_UNUSED:
+ *should_free = 0;
+ return NULL;
+ break;
EMPTY_SWITCH_DEFAULT_CASE()
}
return NULL;