Remove redundant checks for NULL before calling delete
This commit is contained in:
@@ -2485,8 +2485,7 @@ wxDataViewTreeStoreNode::wxDataViewTreeStoreNode(
|
||||
|
||||
wxDataViewTreeStoreNode::~wxDataViewTreeStoreNode()
|
||||
{
|
||||
if (m_data)
|
||||
delete m_data;
|
||||
delete m_data;
|
||||
}
|
||||
|
||||
wxDataViewTreeStoreContainerNode::wxDataViewTreeStoreContainerNode(
|
||||
|
||||
Reference in New Issue
Block a user