explorer: fix small memory leak
Modified: trunk/reactos/subsys/system/explorer/shell/entries.cpp
_____
Modified: trunk/reactos/subsys/system/explorer/shell/entries.cpp
--- trunk/reactos/subsys/system/explorer/shell/entries.cpp
2006-01-24 20:05:50 UTC (rev 21011)
+++ trunk/reactos/subsys/system/explorer/shell/entries.cpp
2006-01-24 20:27:05 UTC (rev 21012)
@@ -163,8 +163,10 @@
Root::~Root()
{
- if (_entry)
+ if (_entry) {
_entry->free_subentries();
+ delete _entry;
+ }
}
Show replies by date