summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--image/decoders/nsWebPDecoder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/image/decoders/nsWebPDecoder.cpp b/image/decoders/nsWebPDecoder.cpp
index 5da696347..6ed2c3e9c 100644
--- a/image/decoders/nsWebPDecoder.cpp
+++ b/image/decoders/nsWebPDecoder.cpp
@@ -119,6 +119,7 @@ nsWebPDecoder::EndFrame()
mTimeout.AsEncodedValueDeprecated(), (int)mBlend));
PostFrameStop(opacity, mDisposal, mTimeout, mBlend);
+ WebPFreeDecBuffer(&mBuffer);
WebPIDelete(mDecoder);
mDecoder = nullptr;
mLastRow = 0;