Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak due to miss to free up channel/timer in Win32File #304

Open
jshen14 opened this issue Nov 17, 2023 · 0 comments
Open

Memory leak due to miss to free up channel/timer in Win32File #304

jshen14 opened this issue Nov 17, 2023 · 0 comments

Comments

@jshen14
Copy link

jshen14 commented Nov 17, 2023

Hi,

Thanks for creating go-winio repo. It is a great help.

I want to report an issue found. In my test, I find there is some memory leakage related to Win32File in file.go. In Win32File.Close, it misses to free up channel/timer which are dynamically allocated.

specifically, I mean channel/timer object in below struct

https://github.com/microsoft/go-winio/blob/main/file.go#L86-L96

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

No branches or pull requests

1 participant