Bug 1237709: During RasterImage error-handling cleanup, set UniquePtr mAnim to null instead of using reset(), to avoid leaking. r=dholbert

This commit is contained in:
Jeff Muizelaar 2016-01-26 11:08:19 -08:00
parent a623ecc760
commit 9c8441e8b7

View File

@ -1622,7 +1622,7 @@ RasterImage::DoError()
if (mAnimating) {
StopAnimation();
}
mAnim.release();
mAnim = nullptr;
// Release all locks.
mLockCount = 0;