Closed reeFridge closed 3 months ago
To be honest, I am not so confident about where idLobby memory should be freed, so any opinion about that is appreciated.
My point is if idSessionLocal
calls idLobby::Initialize
that allocs memory, freeing that memory is also his responsibility.
Thank you for your PR. I will look into this issue at the weekend.
I close this because the PR #848 by @SRSaunders already fixes it and it has been merged into master.
fixes #846
Freeing
idLobby
memory insideidLobby::Shutdown
causes Segfault on sending snapshots to the clients.I have moved
Mem_Free
calls insideidLobby::~idLobby
so memory will be properly freed at shutdown.