Fix memory leak.
This commit is contained in:
parent
8e9547da4a
commit
3b388d9e19
|
@ -779,6 +779,7 @@ void MainWindowsNoGUI::ExportDetailsAsApparelLayout(QVector<VLayoutPiece> listDe
|
|||
{
|
||||
const qreal x = item->boundingRect().x();
|
||||
piece.Mirror();
|
||||
delete item;
|
||||
item = piece.GetItem(m_dialogSaveLayout->IsTextAsPaths());
|
||||
diff = item->boundingRect().x() - x;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user