mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
a623ecc760
commit
9c8441e8b7
@ -1622,7 +1622,7 @@ RasterImage::DoError()
|
||||
if (mAnimating) {
|
||||
StopAnimation();
|
||||
}
|
||||
mAnim.release();
|
||||
mAnim = nullptr;
|
||||
|
||||
// Release all locks.
|
||||
mLockCount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user