删除指针对象

删除

if (esProjectObj !=nullptr)
{
    delete esProjectObj;
    esProjectObj = nullptr;
}
原文地址:https://www.cnblogs.com/herd/p/14025815.html