mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-07 13:29:16 +00:00
Prevent dangling pointer
This commit is contained in:
@ -236,7 +236,7 @@ namespace InterProcessCommunication
|
||||
|
||||
IPC::~IPC()
|
||||
{
|
||||
delete mem;
|
||||
delete mem, mem = nullptr;
|
||||
vfs->Delete(IPCNode, true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user