mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-24 12:38:56 +08:00
mdbx-windows: исправление утечки overlapped-дескриптора.
This commit is contained in:
@@ -1155,6 +1155,8 @@ MDBX_INTERNAL_FUNC void osal_ioring_destroy(osal_ioring_t *ior) {
|
||||
osal_memalign_free(ior->pool);
|
||||
osal_free(ior->event_pool);
|
||||
CloseHandle(ior->async_done);
|
||||
if (ior->overlapped_fd)
|
||||
CloseHandle(ior->overlapped_fd);
|
||||
#else
|
||||
osal_free(ior->pool);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user