mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 16:54:08 +00:00
Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug
This commit is contained in:
parent
1cbc91a8da
commit
3164e19fdc
@ -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