mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 11:13:29 +00:00
A fix to bug 43351.
A softer landing on a failed initialization. It checks for a null before deallocating. This does not affect the success path. This was a patch, and I reviewed it: (r=rayw)
This commit is contained in:
parent
8ddce2ac9b
commit
0540f62d4d
@ -983,7 +983,9 @@ nsNativeComponentLoader::UnloadAll(PRInt32 aWhen)
|
||||
callData.when = aWhen;
|
||||
|
||||
// Cycle through the dlls checking to see if they want to be unloaded
|
||||
if (mDllStore) {
|
||||
mDllStore->Enumerate(nsFreeLibraryEnum, &callData);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user