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