util/async: File descriptor leak in aio_context_unref()?
OK, I got it, it will be released in aio_ctx_finalize(). Please ignore this mail.
Quoted 17 lines
-----Original Message-----
From: tuguoyi (Cloud)
Sent: Sunday, January 19, 2020 4:15 PM
To: 'Stefan Hajnoczi' <[email protected]>; 'Fam Zheng' <[email protected]>; '[email protected]' <[email protected]>
Cc: '[email protected]' <[email protected]>; changlimin (Cloud) <[email protected]>; chengchiwen (Cloud) <[email protected]>; wangyongqing (Cloud) <[email protected]>; wangyong (Cloud) <[email protected]>
Subject: util/async: File descriptor leak inaio_context_unref()?In
aio_context_new(), the @notifier variable will be initialized, but it don't get cleaned up inaio_context_unref()when reference count reaches to 0, it will cause file descriptor leak.
--
Best regards,
Guoyi