mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 787805 - Null check mInput in FileMediaResource::EnsureLengthInitialized(). r=roc
This commit is contained in:
parent
bc572b9151
commit
0ec7cd264b
@ -1031,7 +1031,7 @@ private:
|
||||
void FileMediaResource::EnsureLengthInitialized()
|
||||
{
|
||||
mLock.AssertCurrentThreadOwns();
|
||||
if (mSizeInitialized) {
|
||||
if (mSizeInitialized || !mInput) {
|
||||
return;
|
||||
}
|
||||
mSizeInitialized = true;
|
||||
|
Loading…
Reference in New Issue
Block a user