mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug
This commit is contained in:
parent
9d7b13eae0
commit
59ec684d63
@ -1005,7 +1005,7 @@ ReleaseSliceNow(uint32_t aSlice, void* aData)
|
||||
|
||||
nsISupports* wrapper = items->ElementAt(lastItemIdx);
|
||||
items->RemoveElementAt(lastItemIdx);
|
||||
NS_RELEASE(wrapper);
|
||||
NS_IF_RELEASE(wrapper);
|
||||
}
|
||||
|
||||
return items->IsEmpty();
|
||||
|
Loading…
Reference in New Issue
Block a user