Skip to content

Commit 18a613c

Browse files
Fix leak
1 parent cdb9b06 commit 18a613c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_execute_API.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ ZEND_API void zend_shutdown_executor_values(bool fast_shutdown)
302302
if (c->filename) {
303303
zend_string_release_ex(c->filename, 0);
304304
}
305+
if (c->attributes) {
306+
zend_hash_release(c->attributes);
307+
}
305308
efree(c);
306309
zend_string_release_ex(key, 0);
307310
} ZEND_HASH_MAP_FOREACH_END_DEL();

0 commit comments

Comments
 (0)