mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-08-29 15:02:05 +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