Interface Kit: fix bad free, CID 611174

This commit is contained in:
John Scipione 2014-07-22 22:33:00 -04:00
parent a98019cd3f
commit 6073b1d56d

View File

@ -226,7 +226,7 @@ BPicture::_InitData()
BPicture::~BPicture() BPicture::~BPicture()
{ {
BAutolock _(sPictureListLock); BAutolock _(sPictureListLock);
sPictureList.RemoveItem(this); sPictureList.RemoveItem(this, false);
_DisposeData(); _DisposeData();
} }