1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

[Server] Fix memory leak in CellController

This commit is contained in:
Koncord 2017-02-24 13:58:40 +08:00
parent 715422aff6
commit 3adbf17545

View file

@ -66,7 +66,10 @@ CellController::CellController()
CellController::~CellController() CellController::~CellController()
{ {
for(auto cell : cells)
{
delete cell;
}
} }
CellController *CellController::sThis = nullptr; CellController *CellController::sThis = nullptr;