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

Fix memory leak #35

Closed
xcxinng opened this issue Aug 26, 2022 · 0 comments
Closed

Fix memory leak #35

xcxinng opened this issue Aug 26, 2022 · 0 comments

Comments

@xcxinng
Copy link
Contributor

xcxinng commented Aug 26, 2022

Hi govpp team:

I've used govpp on the production environment for more than 1 year, and it is very stable, and thank you for your hard work.

But I once got a memory leak when it failed to check the stat version in the test environment, and the problem was solved after I make this patch: #34

Isn't it better to call munmap() before the return statement, What do you guys think?

@xcxinng xcxinng closed this as completed Sep 8, 2022
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