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 resource leak in t_blosc #87

Merged
merged 1 commit into from
Apr 14, 2015

Conversation

jack-pappas
Copy link
Contributor

This PR fixes a resource leak in the t_blosc function. On line 1394, the current code returns immediately once it detects the worker loop should be terminated. However, this means that it doesn't execute the cleanup code to release allocated resources after the while loop.

The modification in this PR causes execution to break out of the loop instead of returning, so the cleanup code is executed as expected.

FrancescAlted added a commit that referenced this pull request Apr 14, 2015
@FrancescAlted FrancescAlted merged commit 5b0c8fe into Blosc:master Apr 14, 2015
@jack-pappas jack-pappas deleted the t-blosc-thread-fix branch May 20, 2015 01:20
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.

2 participants