Fix memory leaks.

This commit is contained in:
Roman Telezhynskyi 2023-07-24 17:52:52 +03:00
parent 55ba30e785
commit 807964e019

View File

@ -143,6 +143,7 @@ auto VPLayout::TileFactory() const -> VPTileFactory *
//---------------------------------------------------------------------------------------------------------------------
void VPLayout::SetTileFactory(VPTileFactory *newTileFactory)
{
delete m_tileFactory;
m_tileFactory = newTileFactory;
}