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

cppcheck fix for openjp2 #740

Merged
merged 1 commit into from
Apr 29, 2016
Merged

Conversation

julienmalik
Copy link
Collaborator

No description provided.

return;

fails:
if(r) free(r);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

free can be called on a NULL pointer (see section 7.20.3.2 of http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf)

@mayeut mayeut merged commit 319fc97 into uclouvain:master Apr 29, 2016
@julienmalik julienmalik deleted the cppcheck_openjp2 branch April 30, 2016 13:07
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.

4 participants