Skip to content

Commit 9464576

Browse files
committed
Fix leaks in sapi tests
Make sure to always free compiled_filename on shutdown.
1 parent 7620ea1 commit 9464576

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ void shutdown_compiler(void) /* {{{ */
437437
FREE_HASHTABLE(CG(delayed_autoloads));
438438
CG(delayed_autoloads) = NULL;
439439
}
440+
zend_restore_compiled_filename(NULL);
440441
}
441442
/* }}} */
442443

0 commit comments

Comments
 (0)