summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.c
diff options
context:
space:
mode:
authortwosee <twose@qq.com>2020-06-07 08:38:13 +0800
committerNikita Popov <nikita.ppv@gmail.com>2020-06-07 10:41:11 +0200
commit7d6a0ba8088c9abbb490013d0ea7099a86adefa9 (patch)
tree796d25925fc449eb1af92e44b0b666da4afaf093 /Zend/zend_closures.c
parent1d8233877c654fc1915080817a710ceb972682dd (diff)
downloadphp-git-7d6a0ba8088c9abbb490013d0ea7099a86adefa9.tar.gz
Fix expression warnings and break warnings
Close GH-5675.
Diffstat (limited to 'Zend/zend_closures.c')
-rw-r--r--Zend/zend_closures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c
index 6bd5a8716b..af008c3628 100644
--- a/Zend/zend_closures.c
+++ b/Zend/zend_closures.c
@@ -181,7 +181,7 @@ ZEND_METHOD(Closure, call)
/* copied upon generator creation */
GC_DELREF(&closure->std);
} else if (ZEND_USER_CODE(my_function.type)
- && fci_cache.function_handler->common.fn_flags & ZEND_ACC_HEAP_RT_CACHE) {
+ && (fci_cache.function_handler->common.fn_flags & ZEND_ACC_HEAP_RT_CACHE)) {
efree(ZEND_MAP_PTR(my_function.op_array.run_time_cache));
}
}