* Fixed mem-leaks

git-svn-id: trunk@35754 -
This commit is contained in:
joost 2017-04-07 22:41:02 +00:00
parent 39b780c3e3
commit cb402adf32
2 changed files with 2 additions and 1 deletions

View File

@ -350,6 +350,7 @@ begin
IncludeFile(FileDir+SR.Name);
until FindNext(SR)<>0;
end;
FindClose(SR);
end
else
log(llWarning, SLogIncludeFileMaskDoesNotExist, [FileDir, AFileNameMask]);

View File

@ -143,7 +143,7 @@ begin
FindClose(SRF);
until FindNext(SRD)<>0;
end;
FindClose(SRF);
FindClose(SRD);
Result:=true;
end;