Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c
index ecfc9be..b6f3203 100644
--- a/sapi/fpm/fpm/fpm_main.c
+++ b/sapi/fpm/fpm/fpm_main.c
@@ -1911,12 +1911,12 @@ fastcgi_request_done:
}
fpm_request_end();
- fpm_log_write(NULL);
efree(SG(request_info).path_translated);
SG(request_info).path_translated = NULL;
php_request_shutdown((void *) 0);
+ fpm_log_write(NULL);
requests++;
if (max_requests && (requests == max_requests)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.