pas2js: fixed mem leak file cache

This commit is contained in:
mattias 2022-06-09 12:18:38 +02:00
parent a6be7fc1c2
commit 2970d98550

View File

@ -1509,6 +1509,7 @@ begin
FFiles.FreeItems;
FreeAndNil(FDirectoryCache);
FreeAndNil(FFiles);
FreeAndNil(FResourcePaths);
FreeAndNil(FIncludePaths);
FreeAndNil(FForeignUnitPaths);
FreeAndNil(FUnitPaths);