зеркало из https://github.com/mozilla/pjs.git
306 // note: once we have an IconRef,
307 // we MUST release it before exiting this method! r=timeless,sr=jst over irc. no bug.
This commit is contained in:
Родитель
68f1885217
Коммит
2942b87202
|
@ -315,6 +315,7 @@ NS_IMETHODIMP nsIconChannel::AsyncOpen(nsIStreamListener *aListener, nsISupports
|
|||
// sigh; REALLY low-mem, bail
|
||||
if (iconH) ::DisposeHandle(iconH);
|
||||
if (iconMaskH) ::DisposeHandle(iconMaskH);
|
||||
if (fileExists) ::ReleaseIconRef(icnRef);
|
||||
return(NS_ERROR_OUT_OF_MEMORY);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче