mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix memory leak
This commit is contained in:
parent
8d467563e2
commit
a6bc3f6c59
2 changed files with 5 additions and 0 deletions
|
@ -1787,6 +1787,9 @@ static int php_cli_server_send_error_page(php_cli_server *server, php_cli_server
|
|||
|
||||
php_cli_server_log_response(client, status, errstr ? errstr : "?" TSRMLS_CC);
|
||||
php_cli_server_poller_add(&server->poller, POLLOUT, client->sock);
|
||||
if (errstr) {
|
||||
pefree(errstr, 1);
|
||||
}
|
||||
efree(escaped_request_uri);
|
||||
return SUCCESS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue