зеркало из https://github.com/mozilla/gecko-dev.git
Fix uninitialized result code in JS component loader (bug 313612) regression from bug 279839. Thanks to Boris for helping track this down.
This commit is contained in:
Родитель
2cc8558e03
Коммит
c47a7f8696
|
@ -1012,6 +1012,7 @@ mozJSComponentLoader::ModuleForLocation(const char *registryLocation,
|
||||||
he = PL_HashTableRawAdd(mModules, hep, hash,
|
he = PL_HashTableRawAdd(mModules, hep, hash,
|
||||||
nsCRT::strdup(registryLocation), module);
|
nsCRT::strdup(registryLocation), module);
|
||||||
|
|
||||||
|
*status = NS_OK;
|
||||||
return module;
|
return module;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче