This reverts commit 67b3b54ae1595db6c8f270dec1c1e6702d3fe9d5
This fixes multiple memory leaks that result in a really long parsing of the linked list, and gives me for example 30 seconds before a round loads after an uptime of 6000 (after a server restart, it usually takes 1 second to load).
Look at MapEntity_ParseAllEntities in the vprof.txt for an example.
This reverts commit 67b3b54ae1595db6c8f270dec1c1e6702d3fe9d5
This fixes multiple memory leaks that result in a really long parsing of the linked list, and gives me for example 30 seconds before a round loads after an uptime of 6000 (after a server restart, it usually takes 1 second to load). Look at MapEntity_ParseAllEntities in the vprof.txt for an example.