Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Possible leak in uv__init_overlapped_dummy() for win #193

Open
escherstair opened this issue Mar 31, 2021 · 0 comments
Open

Possible leak in uv__init_overlapped_dummy() for win #193

escherstair opened this issue Mar 31, 2021 · 0 comments

Comments

@escherstair
Copy link

Function
https://github.com/libuv/libuv/blob/285a5ea819035ff777b8b7c6a367f3f5b55d8809/src/win/poll.c#L55
creates an event called event, whichis never discarded.
Maybe a
CloseHandle(event);
is necessary before the end of the function uv__init_overlapped_dummy()

Do you agree?
If this is the case, I can open a PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant