DiskUsage: avoid leaking the saved scan snapshot

This commit is contained in:
Philippe Saint-Pierre 2012-11-14 23:07:22 -05:00
parent 3e52a3d5e5
commit 5dcd116f40
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ Scanner::_RunScan(FileInfo* startInfo)
delete startInfo;
}
}
delete fPreviousSnapshot;
fBusy = false;
_ChangeToDesired();
fListener.SendMessage(&fDoneMessage);