Small leak fix.
This commit is contained in:
parent
f82e07849b
commit
6e52e19367
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue