Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Coverity #155476: potential resource leak
If the reading of GD2 images fails due to a truncated file, we have to make sure that all resources are freed. We do so by going to `fail` instead of bailing out early. This is a minor issue, though, as GD2 isn't recommended for production use at all.
- Loading branch information