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

cond: fix memory leak #97

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@shintaro-iwasaki
Copy link
Contributor

commented Feb 28, 2019

When the given mutex is invalid (i.e., when ABTI_mutex_equal returns false) ABTI_cond_wait and ABT_cond_timedwait go to fn_fail without freeing memory allocated in these functions. This PR fixes this issue.

This is related to #96.

cond: fix memory leak
When the given mutex is invalid (i.e., when ABTI_mutex_equal returns false)
some cond functions go to error handling without freeing memory allocated in the
function.  This patch fixes this issue.
@shintaro-iwasaki

This comment has been minimized.

Copy link
Contributor Author

commented Mar 25, 2019

test:jenkins

1 similar comment
@shintaro-iwasaki

This comment has been minimized.

Copy link
Contributor Author

commented Mar 26, 2019

test:jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.