shell32: Fix a leak in the ebrowser travellog (Valgrind).

This commit is contained in:
David Hedberg 2011-01-16 10:57:00 +01:00 committed by Alexandre Julliard
parent f6ce8b7196
commit 8cf1200fff
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ static void travellog_remove_entry(ExplorerBrowserImpl *This, travellog_entry *e
TRACE("Removing %p\n", entry);
list_remove(&entry->entry);
ILFree(entry->pidl);
HeapFree(GetProcessHeap(), 0, entry);
This->travellog_count--;
}