mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 853857 - Check the result of CrashReporter::CheckForLastRunCrash. r=ted
This commit is contained in:
parent
ec70c90a69
commit
a7737ad40c
@ -2434,9 +2434,9 @@ CheckForLastRunCrash()
|
||||
#endif
|
||||
nsCOMPtr<nsIFile> lastMinidumpFile;
|
||||
CreateFileFromPath(lastMinidump.get(),
|
||||
getter_AddRefs(lastMinidumpFile));
|
||||
getter_AddRefs(lastMinidumpFile));
|
||||
|
||||
if (NS_FAILED(lastMinidumpFile->Exists(&exists)) || !exists) {
|
||||
if (!lastMinidumpFile || NS_FAILED(lastMinidumpFile->Exists(&exists)) || !exists) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user