mirror of
https://github.com/reactos/reactos.git
synced 2024-09-04 17:49:15 +00:00
Mikhail Denisenko <denisenkom@gmail.com>
- Free subentries in Entry destructor. Fixes QuickLaunch entries leak. See issue #2012 for more details. svn path=/trunk/; revision=41144
This commit is contained in:
parent
e6b91f9ede
commit
b943ea64cf
|
@ -96,6 +96,8 @@ Entry::Entry(const Entry& other)
|
|||
// free a directory entry
|
||||
Entry::~Entry()
|
||||
{
|
||||
free_subentries();
|
||||
|
||||
if (_icon_id > ICID_NONE)
|
||||
g_Globals._icon_cache.free_icon(_icon_id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue