do not delete shared null QMap data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-01 17:39:59 +00:00
parent 49f79f4480
commit 9d272713fb

View file

@ -73,6 +73,7 @@ void QMapData::continueFreeData(int offset)
cur = cur->forward[0];
::free(reinterpret_cast<char *>(prev) - offset);
}
if (this != &shared_null)
delete this;
}