mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:03:02 +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;
|
IconWatcherData *Icon;
|
||||||
Icon = m_WatcherList.GetAt(Pos);
|
Icon = m_WatcherList.GetAt(Pos);
|
||||||
CloseHandle(Icon->hProcess);
|
delete Icon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_WatcherList.RemoveAll();
|
m_WatcherList.RemoveAll();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue