mirror of https://github.com/yandex/odyssey.git
Prevent condition leak
This commit is contained in:
parent
3513ed59b4
commit
0b8e8309c3
|
@ -30,6 +30,10 @@ static inline void
|
|||
od_io_free(od_io_t *io)
|
||||
{
|
||||
od_readahead_free(&io->readahead);
|
||||
if (io->on_read)
|
||||
machine_cond_free(io->on_read);
|
||||
if (io->on_write)
|
||||
machine_cond_free(io->on_write);
|
||||
}
|
||||
|
||||
static inline char*
|
||||
|
|
Loading…
Reference in New Issue