Skip to content

Commit ff31509

Browse files
committed
Free map_base_ptr during post_startup
1 parent 105a04a commit ff31509

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,8 @@ int zend_post_startup(void) /* {{{ */
10111011
compiler_globals->function_table = NULL;
10121012
free(compiler_globals->class_table);
10131013
compiler_globals->class_table = NULL;
1014+
free(compiler_globals->map_ptr_base);
1015+
compiler_globals->map_ptr_base = NULL;
10141016
if ((script_encoding_list = (zend_encoding **)compiler_globals->script_encoding_list)) {
10151017
compiler_globals_ctor(compiler_globals);
10161018
compiler_globals->script_encoding_list = (const zend_encoding **)script_encoding_list;

0 commit comments

Comments
 (0)