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:
parent
715422aff6
commit
3adbf17545
1 changed files with 4 additions and 1 deletions
|
@ -66,7 +66,10 @@ CellController::CellController()
|
||||||
|
|
||||||
CellController::~CellController()
|
CellController::~CellController()
|
||||||
{
|
{
|
||||||
|
for(auto cell : cells)
|
||||||
|
{
|
||||||
|
delete cell;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CellController *CellController::sThis = nullptr;
|
CellController *CellController::sThis = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue