mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
[Server] Fix memory leak in CellController
This commit is contained in:
parent
715422aff6
commit
3adbf17545
@ -66,7 +66,10 @@ CellController::CellController()
|
||||
|
||||
CellController::~CellController()
|
||||
{
|
||||
|
||||
for(auto cell : cells)
|
||||
{
|
||||
delete cell;
|
||||
}
|
||||
}
|
||||
|
||||
CellController *CellController::sThis = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user