Fix potential memory leaks.
This commit is contained in:
parent
55e4dceb06
commit
222db34589
|
@ -38,7 +38,8 @@ VPuzzleLayout::VPuzzleLayout() :
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VPuzzleLayout::~VPuzzleLayout()
|
||||
{
|
||||
// TODO
|
||||
qDeleteAll(m_layers);
|
||||
delete m_unplacedPiecesLayer;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user