TheCandianVendingMachine/TCVM_Flat_Engine

Serializer allocates a ton of memory off the stack and never frees it

Closed this issue · 1 comments

As the title suggests, the serializer will allocate a ton of memory off the stack and not free it. Only ways to fix seem to be either a dynamic memory manager, or somehow create a local stack that we can keep freeing. Only issue with the latter is that we will have to find out how to allocate from it for std::map

Created dynamic memory allocater