mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
- Fix memory leak caused by RSHUTDOWN not being called by MINIT dependency
This commit is contained in:
parent
370febcd37
commit
33a8442c5d
1 changed files with 2 additions and 2 deletions
|
@ -3736,7 +3736,7 @@ PHP_RINIT_FUNCTION(basic) /* {{{ */
|
||||||
#endif
|
#endif
|
||||||
BG(user_shutdown_function_names) = NULL;
|
BG(user_shutdown_function_names) = NULL;
|
||||||
|
|
||||||
BASIC_RINIT_SUBMODULE(filestat)
|
PHP_RINIT(filestat)(INIT_FUNC_ARGS_PASSTHRU);
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
BASIC_RINIT_SUBMODULE(syslog)
|
BASIC_RINIT_SUBMODULE(syslog)
|
||||||
#endif
|
#endif
|
||||||
|
@ -3784,7 +3784,7 @@ PHP_RSHUTDOWN_FUNCTION(basic) /* {{{ */
|
||||||
/* FG(stream_wrappers) and FG(stream_filters) are destroyed
|
/* FG(stream_wrappers) and FG(stream_filters) are destroyed
|
||||||
* during php_request_shutdown() */
|
* during php_request_shutdown() */
|
||||||
|
|
||||||
BASIC_RSHUTDOWN_SUBMODULE(filestat)
|
PHP_RSHUTDOWN(filestat)(SHUTDOWN_FUNC_ARGS_PASSTHRU);
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
#ifdef PHP_WIN32
|
#ifdef PHP_WIN32
|
||||||
BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU);
|
BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue