mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +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
1 changed files with 2 additions and 0 deletions
|
@ -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