Bug 538930 - [@ @0x0 | nsNotifyAddrListener::Run] assumes InitIPHelperLibrary will never fail and that sNotifyAddrChange will be non null, r=biesi

This commit is contained in:
timeless@mozdev.org 2010-01-11 07:40:00 -08:00
parent b86e3393ee
commit 9fe95160d2

View File

@ -177,6 +177,11 @@ nsNotifyAddrListener::Run()
InitIPHelperLibrary();
if (!sNotifyAddrChange) {
CloseHandle(ev);
return NS_ERROR_NOT_AVAILABLE;
}
overlapped.hEvent = ev;
while (!shuttingDown) {
HANDLE h;