Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
8212034: Potential memory leaks in jpegLoader.c in error case #54
Memory allocated in initDecompressor() and decompressIndirect() is not freed in error case.
johanvos left a comment
In general, this makes sense. I need to look into more detail that the additional calls for freeing resources (in case of errors) don't cause e.g. segmentation violations and lead to a crash -- which would be worse than throwing an Exception.
@arapte This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 23 commits pushed to the
@arapte The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts.
Pushed as commit f25e8cf.
8212034: Potential memory leaks in jpegLoader.c in error case
Reviewed-by: jvos, kcr