Possible memory leak in graveinfo
https://github.com/jasonrohrer/OneLife/blob/e2577913eb6ba5772f13fd0953d3e8bf693ca4f1/gameSource/LivingLifePage.cpp#L11294
When the game creates a relation string for a grave info, I don't see where that string is deleted. Perhaps I don't fully understand the memory semantics of getElementString
You're true.
getElementString has "new". https://github.com/jasonrohrer/minorGems/blob/master/util/SimpleVector.h#L708
So its need free.
relationName be left or override by here. https://github.com/jasonrohrer/OneLife/blob/e2577913eb6ba5772f13fd0953d3e8bf693ca4f1/gameSource/LivingLifePage.cpp#L11327
Never be free. It will be memory leak.
Bug comes out of this, I think, when moving piles of bones. Is it a good illustration of this memory leak? https://onehouronelife.com/forums/viewtopic.php?id=6838
That is another issue. Memory leak only performance problem. Please make new issue.