fixed a bug in failure cleanup in hio_svc_htts_start()
This commit is contained in:
parent
0a4ca3cb4e
commit
7963f140b5
@ -486,7 +486,9 @@ oops:
|
|||||||
if (htts->l.sck)
|
if (htts->l.sck)
|
||||||
{
|
{
|
||||||
for (i = 0; i < htts->l.count; i++)
|
for (i = 0; i < htts->l.count; i++)
|
||||||
hio_dev_sck_kill (htts->l.sck[i]);
|
{
|
||||||
|
if (htts->l.sck[i]) hio_dev_sck_kill (htts->l.sck[i]);
|
||||||
|
}
|
||||||
hio_freemem (hio, htts->l.sck);
|
hio_freemem (hio, htts->l.sck);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user