mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Free the decoded image buffer before deleting the WebP decoder.
This should solve #483.
This commit is contained in:
parent
dfd13c47f4
commit
ee622ef7cc
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ nsWebPDecoder::EndFrame()
|
|||
mTimeout.AsEncodedValueDeprecated(), (int)mBlend));
|
||||
|
||||
PostFrameStop(opacity, mDisposal, mTimeout, mBlend);
|
||||
WebPFreeDecBuffer(&mBuffer);
|
||||
WebPIDelete(mDecoder);
|
||||
mDecoder = nullptr;
|
||||
mLastRow = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue