Small leak fix.

This commit is contained in:
Maciej Suminski 2014-02-17 14:36:51 +01:00
parent f82e07849b
commit 6e52e19367
1 changed files with 4 additions and 0 deletions

View File

@ -339,9 +339,13 @@ void PNS_ROUTER::ClearWorld()
if( m_placer )
delete m_placer;
if( m_previewItems )
delete m_previewItems;
m_clearanceFunc = NULL;
m_world = NULL;
m_placer = NULL;
m_previewItems = NULL;
}