mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-06 12:59:15 +00:00
Prevent dangling pointer
This commit is contained in:
@ -60,6 +60,6 @@ namespace GraphicalUserInterface
|
||||
|
||||
Window::~Window()
|
||||
{
|
||||
delete this->mem;
|
||||
delete this->mem, this->mem = nullptr;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user