[testdelete1\testdelete1.cpp:6]: Redundant condition. It is safe to deallocate a NULL pointer