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 | a8be1c1d4b0f754a5a2b4c54fe238b620a799e51 (patch) | |
tree | 23b2928c859826441f1ec50ce7605dafadc82e2c /sapi/cgi | |
parent | 0fb528edee6e09bc0bea0c785443fdf26747804d (diff) | |
download | php-git-a8be1c1d4b0f754a5a2b4c54fe238b620a799e51.tar.gz |
fix micro-memleaks (happened once per process)
Diffstat (limited to 'sapi/cgi')
-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 4c7d020a50..da8fed108f 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1879,6 +1879,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; @@ -1900,6 +1901,7 @@ consult the installation file that came with this distribution, or visit \n\ print_extensions(TSRMLS_C); php_printf("\n"); php_end_ob_buffers(1 TSRMLS_CC); + fcgi_shutdown(); exit_status = 0; goto out; @@ -1933,6 +1935,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; |