Fixed thumbnail delete ordering issues (also found ffsup2).

Fixed minor memory leak found by valgrind.

Fixed thumbnail processing ordering issue.
This commit is contained in:
Steve Herrell
2010-11-15 20:56:26 -05:00
parent a9cd01f992
commit a9a8141b20
5 changed files with 20 additions and 8 deletions

View File

@@ -249,7 +249,6 @@ void FileBrowser::close () {
for (int i=0; i<fd.size(); i++)
{
((FileBrowserEntry*)fd[i])->thumbnail->decreaseRef ();
delete fd[i];
}
fd.clear ();