mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
do not delete shared null QMap data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
49f79f4480
commit
9d272713fb
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ void QMapData::continueFreeData(int offset)
|
|||
cur = cur->forward[0];
|
||||
::free(reinterpret_cast<char *>(prev) - offset);
|
||||
}
|
||||
delete this;
|
||||
if (this != &shared_null)
|
||||
delete this;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Reference in a new issue