forked from teamnwah/openmw-tes3coop
[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()
|
||||
{
|
||||
|
||||
for(auto cell : cells)
|
||||
{
|
||||
delete cell;
|
||||
}
|
||||
}
|
||||
|
||||
CellController *CellController::sThis = nullptr;
|
||||
|
|
Loading…
Reference in a new issue