Fixed a memleak (PNS).
This commit is contained in:
parent
b16ade0805
commit
6cb57f100a
|
@ -53,7 +53,6 @@ PNS_LINE::PNS_LINE( const PNS_LINE& aOther ) :
|
||||||
|
|
||||||
PNS_LINE::~PNS_LINE()
|
PNS_LINE::~PNS_LINE()
|
||||||
{
|
{
|
||||||
if( m_segmentRefs )
|
|
||||||
delete m_segmentRefs;
|
delete m_segmentRefs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,7 @@ ROUTER_PREVIEW_ITEM::ROUTER_PREVIEW_ITEM( const PNS_ITEM* aItem, VIEW_GROUP* aPa
|
||||||
|
|
||||||
ROUTER_PREVIEW_ITEM::~ROUTER_PREVIEW_ITEM()
|
ROUTER_PREVIEW_ITEM::~ROUTER_PREVIEW_ITEM()
|
||||||
{
|
{
|
||||||
|
delete m_shape;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue