mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Properly delete the object and allow its destructor to cleanup
This commit is contained in:
parent
8c91a00fcf
commit
2abd068398
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ public:
|
|||
{
|
||||
IconWatcherData *Icon;
|
||||
Icon = m_WatcherList.GetAt(Pos);
|
||||
CloseHandle(Icon->hProcess);
|
||||
delete Icon;
|
||||
}
|
||||
}
|
||||
m_WatcherList.RemoveAll();
|
||||
|
|
Loading…
Reference in a new issue