Deletes and nullifies a pointer.
Basic programming tips URL: http://nedprod.com/programs/index.html Note: always nullify pointers after deletion, why? because its safer on a MT application
(Allan) by setting a pointer to the null pointer, you have successfully eliminated the only chance to detect double deletion
- Parameters
-
Definition at line 83 of file SafeMem.h.
Referenced by EVEClientSession::_HandlePacket(), PlanetDataMgr::_Populate(), PIDataMgr::_Populate(), CachedObjectMgr::_UpdateCache(), Colony::AbandonColony(), CommandDispatcher::AddCommand(), SystemManager::AddMarker(), Client::Board(), TradeService::CancelTrade(), BubbleManager::clear(), SystemBubble::clear(), BeltMgr::ClearAll(), StreamPacketizer::ClearBuffers(), TCPConnection::ClearBuffers(), TargetManager::ClearFromTargets(), XMLParser::ClearParsers(), TargetManager::ClearTargets(), CommandDispatcher::Close(), ItemFactory::Close(), PyServiceMgr::Close(), BaseTCPServer::Close(), EntityList::Close(), StatisticMgr::CompileData(), TCPConnection::Connect(), CynoModule::DeactivateCycle(), ActiveModule::DeactivateCycle(), Client::DestroyShipSE(), TCPConnection::DoDisconnect(), PySubStream::EncodeData(), EntityList::FindOrBootSystem(), DestinyManager::Halt(), DestinyManager::InitWarp(), CachedObjectMgr::InvalidateCache(), SystemEntity::Killed(), CachedObjectMgr::LoadCachedCall(), CachedObjectMgr::LoadCachedFile(), CachedObjectMgr::LoadCachedFromFile(), CachedObjectMgr::LoadCachedObject(), ShipItem::LoadWeaponGroups(), Marshal(), MarshalDeflate(), ObjectToSQL(), BaseTCPServer::Open(), EVETCPConnection::PopRep(), FxDataMgr::Populate(), MapData::Populate(), MissionDataMgr::Populate(), SovereigntyDataMgr::Populate(), StationDataMgr::Populate(), DungeonDataMgr::Populate(), StaticDataMgr::Populate(), EntityList::Process(), MiningLaser::ProcessCycle(), Client::ProcessNet(), EVETCPConnection::QueueRep(), SystemBubble::RemoveMarkers(), XMLParser::RemoveParser(), TargetManager::RemoveTarget(), SpawnMgr::ReSpawn(), TCPConnection::Send(), SystemBubble::SendAddBalls(), SystemBubble::SendAddBalls2(), TCPConnection::SendData(), SystemManager::SendStaticBall(), TowerSE::SetOffline(), EntityList::Shutdown(), LSCService::SystemUnload(), TargetManager::TargetedByLost(), TargetManager::TargetLost(), ModuleManager::UnfitModule(), TargetManager::Unload(), SystemManager::UnloadSystem(), Unmarshal(), CachedObjectMgr::UpdateCache(), SovereigntyDataMgr::UpdateClaim(), DestinyManager::WarpStop(), DestinyManager::WarpTo(), AlertService::~AlertService(), CachedObjectMgr::~CachedObjectMgr(), CargoContainer::~CargoContainer(), Character::~Character(), Client::~Client(), Colony::~Colony(), CommandDispatcher::~CommandDispatcher(), Concord::~Concord(), ContainerSE::~ContainerSE(), DestinyManager::~DestinyManager(), DroneSE::~DroneSE(), DynamicSystemEntity::~DynamicSystemEntity(), InventoryItem::~InventoryItem(), ItemFactory::~ItemFactory(), LSCService::~LSCService(), ModuleManager::~ModuleManager(), NPC::~NPC(), ObjectSystemEntity::~ObjectSystemEntity(), PlanetMgrBound::~PlanetMgrBound(), PlanetSE::~PlanetSE(), ReactorSE::~ReactorSE(), Sentry::~Sentry(), ShipItem::~ShipItem(), SolarSystem::~SolarSystem(), StationItem::~StationItem(), StationOffice::~StationOffice(), StructureItem::~StructureItem(), SystemBubble::~SystemBubble(), SystemManager::~SystemManager(), TCPServer< EVETCPConnection >::~TCPServer(), and WreckContainer::~WreckContainer().