File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1917,6 +1917,7 @@ int main(int argc, char *argv[])
1917
1917
#ifdef ZTS
1918
1918
tsrm_shutdown ();
1919
1919
#endif
1920
+ free (bindpath );
1920
1921
return FAILURE ;
1921
1922
}
1922
1923
@@ -2339,6 +2340,7 @@ consult the installation file that came with this distribution, or visit \n\
2339
2340
if (php_request_startup () == FAILURE ) {
2340
2341
SG (server_context ) = NULL ;
2341
2342
php_module_shutdown ();
2343
+ free (bindpath );
2342
2344
return FAILURE ;
2343
2345
}
2344
2346
if (no_headers ) {
@@ -2383,6 +2385,7 @@ consult the installation file that came with this distribution, or visit \n\
2383
2385
if (php_request_startup () == FAILURE ) {
2384
2386
SG (server_context ) = NULL ;
2385
2387
php_module_shutdown ();
2388
+ free (bindpath );
2386
2389
return FAILURE ;
2387
2390
}
2388
2391
SG (headers_sent ) = 1 ;
@@ -2541,6 +2544,7 @@ consult the installation file that came with this distribution, or visit \n\
2541
2544
#ifdef ZTS
2542
2545
tsrm_shutdown ();
2543
2546
#endif
2547
+ free (bindpath );
2544
2548
return FAILURE ;
2545
2549
}
2546
2550
}
@@ -2710,9 +2714,7 @@ consult the installation file that came with this distribution, or visit \n\
2710
2714
requests ++ ;
2711
2715
if (max_requests && (requests == max_requests )) {
2712
2716
fcgi_finish_request (request , 1 );
2713
- if (bindpath ) {
2714
- free (bindpath );
2715
- }
2717
+ free (bindpath );
2716
2718
if (max_requests != 1 ) {
2717
2719
/* no need to return exit_status of the last request */
2718
2720
exit_status = 0 ;
You can’t perform that action at this time.
0 commit comments