File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -333,15 +333,14 @@ ZEND_API zend_function *zend_get_property_hook_trampoline(
333
333
ZEND_API bool ZEND_FASTCALL zend_asymmetric_property_has_set_access (const zend_property_info * prop_info );
334
334
335
335
#define zend_release_properties (ht ) do { \
336
- if ((ht) && !(GC_FLAGS(ht) & GC_IMMUTABLE) && !GC_DELREF(ht) ) { \
337
- zend_array_destroy (ht); \
336
+ if (ht ) { \
337
+ zend_array_release (ht); \
338
338
} \
339
339
} while (0)
340
340
341
341
#define zend_free_trampoline (func ) do { \
342
- HashTable *attributes = (func)->common.attributes; \
343
- if (attributes && !(GC_FLAGS(attributes) & GC_IMMUTABLE) && !GC_DELREF(attributes)) { \
344
- zend_array_destroy(attributes); \
342
+ if ((func)->common.attributes) { \
343
+ zend_array_release((func)->common.attributes); \
345
344
} \
346
345
if ((func) == &EG(trampoline)) { \
347
346
EG(trampoline).common.attributes = NULL; \
You can’t perform that action at this time.
0 commit comments