fix a potential bug in CProfileNode destructor, if the SDK is included/used multiple times.
This commit is contained in:
@@ -293,8 +293,7 @@ void CProfileNode::CleanupMemory()
|
|||||||
|
|
||||||
CProfileNode::~CProfileNode( void )
|
CProfileNode::~CProfileNode( void )
|
||||||
{
|
{
|
||||||
delete ( Child);
|
CleanupMemory();
|
||||||
delete ( Sibling);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user