fixed some memory leak issues

This commit is contained in:
2023-11-16 01:45:52 +09:00
parent faebe1d043
commit 0d44a00953
4 changed files with 18 additions and 1 deletions

View File

@@ -697,7 +697,7 @@ static void unbind_task_from_peer (fcgi_t* fcgi, int rcdown)
if (fcgi->peer)
{
/* hio-svc_fcgic_untie() is not a delayed operation unlike hio_dev_sck_halt().
/* hio_svc_fcgic_untie() is not a delayed operation unlike hio_dev_sck_halt().
* TODO: check if this is a buggy idea */
hio_svc_fcgic_untie (fcgi->peer);
fcgi->peer = HIO_NULL;