Skip to content

Commit 78bc5c8

Browse files
fix: free request context if php_request_startup() errors (#1842)
1 parent 99bb871 commit 78bc5c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frankenphp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,7 @@ static int frankenphp_request_startup() {
975975
return SUCCESS;
976976
}
977977

978+
frankenphp_free_request_context();
978979
php_request_shutdown((void *)0);
979980

980981
return FAILURE;

0 commit comments

Comments
 (0)