mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-30 00:15:47 -04:00
yeah apparently these weren't being copied but the memory was being used directly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user