Skip to content

Fix some memory leaks #20

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

modbw
Copy link
Contributor

@modbw modbw commented Sep 2, 2021

There are some memory leaks in libuio which I try to fix. Memory leaks where detected by valgrind. After these changes my test cases don't report any memory leaks.

If a map has a name it won't be freed uio_free_info causing
a memory leak.
To prevent memory leaks uio_free_info is needed by the user of the library
When a uio_info_t doesn't match the searched name if will be freed
@modbw modbw changed the title Fix memory leak in uio_free_info Fix some memory leaks Sep 2, 2021
@Baruch-Fridman
Copy link

Baruch-Fridman commented Sep 11, 2023

I used the above changes but still got a leak. @modbw

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

Successfully merging this pull request may close these issues.

3 participants