mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-06 04:49:19 +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