projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c91a00
)
Properly delete the object and allow its destructor to cleanup
author
gedmurphy
<gedmurphy@reactos.org>
Thu, 18 Jan 2018 16:43:11 +0000
(16:43 +0000)
committer
Ged Murphy
<gedmurphy@reactos.org>
Sat, 20 Jan 2018 18:38:42 +0000
(18:38 +0000)
base/shell/explorer/trayntfy.cpp
patch
|
blob
|
history
diff --git
a/base/shell/explorer/trayntfy.cpp
b/base/shell/explorer/trayntfy.cpp
index
33ac6c8
..
4df1a62
100644
(file)
--- a/
base/shell/explorer/trayntfy.cpp
+++ b/
base/shell/explorer/trayntfy.cpp
@@
-122,7
+122,7
@@
public:
{
IconWatcherData *Icon;
Icon = m_WatcherList.GetAt(Pos);
{
IconWatcherData *Icon;
Icon = m_WatcherList.GetAt(Pos);
-
CloseHandle(Icon->hProcess)
;
+
delete Icon
;
}
}
m_WatcherList.RemoveAll();
}
}
m_WatcherList.RemoveAll();