Commit 6e52e193 authored by Maciej Suminski's avatar Maciej Suminski

Small leak fix.

parent f82e0784
...@@ -339,9 +339,13 @@ void PNS_ROUTER::ClearWorld() ...@@ -339,9 +339,13 @@ void PNS_ROUTER::ClearWorld()
if( m_placer ) if( m_placer )
delete m_placer; delete m_placer;
if( m_previewItems )
delete m_previewItems;
m_clearanceFunc = NULL; m_clearanceFunc = NULL;
m_world = NULL; m_world = NULL;
m_placer = NULL; m_placer = NULL;
m_previewItems = NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment