Author: fireball
Date: Wed May 27 21:28:59 2009
New Revision: 41144
URL:
http://svn.reactos.org/svn/reactos?rev=41144&view=rev
Log:
Mikhail Denisenko <denisenkom(a)gmail.com>
- Free subentries in Entry destructor. Fixes QuickLaunch entries leak.
See issue #2012 for more details.
Modified:
trunk/reactos/base/shell/explorer/shell/entries.cpp
Modified: trunk/reactos/base/shell/explorer/shell/entries.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/entries.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/entries.cpp [iso-8859-1] Wed May 27 21:28:59
2009
@@ -96,6 +96,8 @@
// free a directory entry
Entry::~Entry()
{
+ free_subentries();
+
if (_icon_id > ICID_NONE)
g_Globals._icon_cache.free_icon(_icon_id);