Prevent dangling pointer

This commit is contained in:
Alex
2023-03-14 06:24:02 +02:00
parent 855384aead
commit d7c9b7ab02
23 changed files with 91 additions and 90 deletions

View File

@ -60,6 +60,6 @@ namespace GraphicalUserInterface
Window::~Window()
{
delete this->mem;
delete this->mem, this->mem = nullptr;
}
}