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 -1
View File
@@ -212,7 +212,7 @@ Scanner::_RunScan(FileInfo* startInfo)
delete startInfo;
}
}
delete fPreviousSnapshot;
fBusy = false;
_ChangeToDesired();
fListener.SendMessage(&fDoneMessage);