зеркало из https://github.com/mozilla/gecko-dev.git
Fix another FrameData leak (Bug 463358). Fixes intermittent orange.
This commit is contained in:
Родитель
1c0e5b31d4
Коммит
2ad9f5251f
|
@ -1514,8 +1514,10 @@ nsresult nsOggDecodeStateMachine::Run()
|
||||||
frame = NextFrame();
|
frame = NextFrame();
|
||||||
} while (frame && frame->mDecodedFrameTime < seekTarget);
|
} while (frame && frame->mDecodedFrameTime < seekTarget);
|
||||||
|
|
||||||
if (mState == DECODER_STATE_SHUTDOWN)
|
if (mState == DECODER_STATE_SHUTDOWN) {
|
||||||
|
delete frame;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
NS_ASSERTION(frame != nsnull, "No frame after seek!");
|
NS_ASSERTION(frame != nsnull, "No frame after seek!");
|
||||||
if (frame) {
|
if (frame) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче