yeah apparently these weren't being copied but the memory was being used directly

This commit is contained in:
CodeCodon
2015-07-28 16:34:37 -05:00
parent beb1eecd5f
commit efaba4af08
@@ -651,9 +651,6 @@ void Loader::requestChunk(uint32 processId,int nodeX, int nodeZ, const std::stri
if (ConfigServerDatabase::getEnableGoldDatabase())
goldLocator = new ChunkLocator(nodeX, nodeZ, sceneId, processId, false);
addLocatorsForServer(processId, regularLocator, goldLocator);
delete regularLocator;
delete goldLocator;
}
// ----------------------------------------------------------------------
@@ -934,9 +931,6 @@ void Loader::addLocatorsForServer(uint32 serverId, ObjectLocator * regularLocato
NON_NULL(i->second)->push_back(std::make_pair(regularLocator, goldLocator));
++m_numQueuedLocators;
delete regularLocator;
delete goldLocator;
}
// ----------------------------------------------------------------------