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:
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user