File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1764,11 +1764,11 @@ consult the installation file that came with this distribution, or visit \n\
1764
1764
1765
1765
zend_first_try {
1766
1766
while (fcgi_accept_request (& request ) >= 0 ) {
1767
+ char * status_buffer , * status_content_type ;
1767
1768
request_body_fd = -1 ;
1768
1769
SG (server_context ) = (void * ) & request ;
1769
1770
init_request_info (TSRMLS_C );
1770
1771
CG (interactive ) = 0 ;
1771
- char * status_buffer , * status_content_type ;
1772
1772
1773
1773
fpm_request_info ();
1774
1774
@@ -1858,6 +1858,9 @@ consult the installation file that came with this distribution, or visit \n\
1858
1858
}
1859
1859
}
1860
1860
1861
+ STR_FREE (SG (request_info ).path_translated );
1862
+ SG (request_info ).path_translated = NULL ;
1863
+
1861
1864
php_request_shutdown ((void * ) 0 );
1862
1865
1863
1866
if (exit_status == 0 ) {
@@ -1869,9 +1872,6 @@ consult the installation file that came with this distribution, or visit \n\
1869
1872
SG (request_info ).query_string = NULL ;
1870
1873
}
1871
1874
1872
- STR_FREE (SG (request_info ).path_translated );
1873
- SG (request_info ).path_translated = NULL ;
1874
-
1875
1875
requests ++ ;
1876
1876
if (max_requests && (requests == max_requests )) {
1877
1877
fcgi_finish_request (& request , 1 );
You can’t perform that action at this time.
0 commit comments