Polymorphism: Difference between revisions

Line 60:
if(pthis && *pthis)
{
(*pthis)->dtor();
free(*pthis); *pthis = NULL;
}
Line 155:
if(pthis && *pthis)
{
(*pthis)->dtor();
free(*pthis); *pthis = NULL;
}
Anonymous user