DiskUsage: avoid leaking the saved scan snapshot
This commit is contained in:
parent
3e52a3d5e5
commit
5dcd116f40
|
@ -212,7 +212,7 @@ Scanner::_RunScan(FileInfo* startInfo)
|
|||
delete startInfo;
|
||||
}
|
||||
}
|
||||
|
||||
delete fPreviousSnapshot;
|
||||
fBusy = false;
|
||||
_ChangeToDesired();
|
||||
fListener.SendMessage(&fDoneMessage);
|
||||
|
|
Loading…
Reference in New Issue