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 when get_compressed_data fails #1324

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

alex
Copy link
Contributor

@alex alex commented Oct 7, 2024

No description provided.

@bradh
Copy link
Contributor

bradh commented Oct 7, 2024

Looks OK, but maybe a smart pointer with destructor would be cleaner with these multiple paths?

@farindk farindk merged commit c2837d2 into strukturag:master Oct 7, 2024
35 checks passed
@farindk
Copy link
Contributor

farindk commented Oct 7, 2024

Thanks. As @bradh noted, I'll change this to a smart pointer.

farindk added a commit that referenced this pull request Oct 7, 2024
@alex alex deleted the patch-1 branch October 7, 2024 11:04
bradh pushed a commit to bradh/libheif that referenced this pull request Oct 11, 2024
bradh pushed a commit to bradh/libheif that referenced this pull request Oct 11, 2024
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