svn: /php/php-src/trunk/ext/standard/ basic_functions.c

From: Date: Tue, 07 Jun 2011 01:58:56 +0000
Subject: svn: /php/php-src/trunk/ext/standard/ basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-65135@lists.php.net to get a copy of this message
felipe Tue, 07 Jun 2011 01:58:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311875 Log: - Fix memory leak caused by RSHUTDOWN not being called by MINIT dependency Changed paths: U php/php-src/trunk/ext/standard/basic_functions.c Modified: php/php-src/trunk/ext/standard/basic_functions.c =================================================================== --- php/php-src/trunk/ext/standard/basic_functions.c 2011-06-07 01:40:54 UTC (rev 311874) +++ php/php-src/trunk/ext/standard/basic_functions.c 2011-06-07 01:58:56 UTC (rev 311875) @@ -3736,7 +3736,7 @@ #endif BG(user_shutdown_function_names) = NULL; - BASIC_RINIT_SUBMODULE(filestat) + PHP_RINIT(filestat)(INIT_FUNC_ARGS_PASSTHRU); #ifdef HAVE_SYSLOG_H BASIC_RINIT_SUBMODULE(syslog) #endif @@ -3784,7 +3784,7 @@ /* FG(stream_wrappers) and FG(stream_filters) are destroyed * during php_request_shutdown() */ - BASIC_RSHUTDOWN_SUBMODULE(filestat) + PHP_RSHUTDOWN(filestat)(SHUTDOWN_FUNC_ARGS_PASSTHRU); #ifdef HAVE_SYSLOG_H #ifdef PHP_WIN32 BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU);

« previous php.cvs (#65135) next »