mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
fix bad free in QRegion::cleanUp()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9d60d44c5e
commit
5c29b368ad
1 changed files with 2 additions and 1 deletions
|
@ -3727,7 +3727,8 @@ void QRegion::cleanUp(QRegion::QRegionData *x)
|
|||
if (x->xrectangles)
|
||||
free(x->xrectangles);
|
||||
#endif
|
||||
delete x;
|
||||
if (x != &shared_empty)
|
||||
delete x;
|
||||
}
|
||||
|
||||
QRegion::~QRegion()
|
||||
|
|
Loading…
Add table
Reference in a new issue