Interface Kit: fix bad free, CID 611174
This commit is contained in:
@@ -226,7 +226,7 @@ BPicture::_InitData()
|
|||||||
BPicture::~BPicture()
|
BPicture::~BPicture()
|
||||||
{
|
{
|
||||||
BAutolock _(sPictureListLock);
|
BAutolock _(sPictureListLock);
|
||||||
sPictureList.RemoveItem(this);
|
sPictureList.RemoveItem(this, false);
|
||||||
_DisposeData();
|
_DisposeData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user