Fix potential memory leaks.

This commit is contained in:
Roman Telezhynskyi 2020-04-23 15:37:02 +03:00
parent 55e4dceb06
commit 222db34589

View File

@ -38,7 +38,8 @@ VPuzzleLayout::VPuzzleLayout() :
//---------------------------------------------------------------------------------------------------------------------
VPuzzleLayout::~VPuzzleLayout()
{
// TODO
qDeleteAll(m_layers);
delete m_unplacedPiecesLayer;
}
//---------------------------------------------------------------------------------------------------------------------