Skip to content

Conversation

@dreampiggy
Copy link
Contributor

This fix the potential leak of WebPChunkIterator. The libwebp says:

// Call WebPDemuxReleaseChunkIterator() when use of the iterator is complete.

This also imporve the performance by checking the ICC flags before actual grab the chunk.

@dreampiggy
Copy link
Contributor Author

CC: SDWebImage/SDWebImage#2596

@dreampiggy dreampiggy merged commit 94bec17 into master Jan 22, 2019
@bpoplauschi bpoplauschi deleted the bugfix_iccp_leak branch January 24, 2019 16:38
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