Hello all
I need at some point to clear the class instance created im doing it from outside the class with this method:
void MyObj::ClearInstance()
{
m_pMyObj = NULL;
}
My question is do I cause memory leak here?
Do I need to delete this instance also or instead?