Fix: memory leaks in TfrmFileProperties (#985)

This commit is contained in:
rich2014 2023-05-16 00:16:42 +08:00 committed by GitHub
commit 89ceb79167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,6 +257,7 @@ destructor TfrmFileProperties.Destroy;
begin
FFiles.Free;
StopCalcFolderSize;
FreeAndNil( FOperation );
inherited Destroy;
FPropertyFormatter := nil; // free interface
end;