Skip to contentSkip to conversation

util/async: File descriptor leak in aio_context_unref()?

DISCUSSION Tuguoyi 1 participant 1 message Jan 19, 2020

lore
Share & tools
lore

Tuguoyi

author
#0 lore raw

In aio_context_new(), the @notifier variable will be initialized, but it don't get cleaned up in aio_context_unref() when reference count reaches to 0, it will cause file descriptor leak.
--
Best regards,
Guoyi