diff options
| author | Antony Dovgal <tony2001@php.net> | 2010-06-08 12:02:55 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2010-06-08 12:02:55 +0000 |
| commit | 04d673472f4232158fbfc708c9178adf1c64ea22 (patch) | |
| tree | 9a572152a18b929ecb673385e4c597beea37d51f /sapi/cgi/cgi_main.c | |
| parent | 949b509299f31aba9a7140e56035cb99033f109d (diff) | |
| download | php-git-04d673472f4232158fbfc708c9178adf1c64ea22.tar.gz | |
fix micro-memleaks (happened once per process)
Diffstat (limited to 'sapi/cgi/cgi_main.c')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 81aafcb154..4b47c41484 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1876,6 +1876,7 @@ consult the installation file that came with this distribution, or visit \n\ } php_print_info(0xFFFFFFFF TSRMLS_CC); php_request_shutdown((void *) 0); + fcgi_shutdown(); exit_status = 0; goto out; @@ -1895,6 +1896,7 @@ consult the installation file that came with this distribution, or visit \n\ print_extensions(TSRMLS_C); php_printf("\n"); php_output_end_all(TSRMLS_C); + fcgi_shutdown(); exit_status = 0; goto out; @@ -1928,6 +1930,7 @@ consult the installation file that came with this distribution, or visit \n\ php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2010 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); #endif php_request_shutdown((void *) 0); + fcgi_shutdown(); exit_status = 0; goto out; |
