mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj
This commit is contained in:
parent
5ae3b50392
commit
6b569dc7df
@ -1047,6 +1047,10 @@ public:
|
|||||||
rv = writer->Finish();
|
rv = writer->Finish();
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
|
if (!mFinishDumping) {
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
return mFinishDumping->Callback(mFinishDumpingData);
|
return mFinishDumping->Callback(mFinishDumpingData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user