зеркало из https://github.com/mozilla/pjs.git
Bug 126107 - Freeing mismatched memory in nsWindowMediator::GetWindowForResource - r=valeski, sr=alecf, a=asa
This commit is contained in:
Родитель
57bd1ec104
Коммит
b8c6c039f2
|
@ -822,7 +822,7 @@ nsWindowMediator::GetWindowForResource( const PRUnichar* inResource,
|
|||
listEnd = mOldestWindow;
|
||||
}
|
||||
|
||||
delete resourceString;
|
||||
nsMemory::Free(resourceString);
|
||||
// Rather than returning an error when you pass in crap, return NS_OK
|
||||
// Doing this to avoid throwing a JS exception becasue event bubbling is not working as of 7/26/99
|
||||
//return result;
|
||||
|
|
Загрузка…
Ссылка в новой задаче