mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 21:09:24 +02:00
* Fixed mem-leaks
git-svn-id: trunk@35754 -
This commit is contained in:
parent
39b780c3e3
commit
cb402adf32
@ -350,6 +350,7 @@ begin
|
||||
IncludeFile(FileDir+SR.Name);
|
||||
until FindNext(SR)<>0;
|
||||
end;
|
||||
FindClose(SR);
|
||||
end
|
||||
else
|
||||
log(llWarning, SLogIncludeFileMaskDoesNotExist, [FileDir, AFileNameMask]);
|
||||
|
@ -143,7 +143,7 @@ begin
|
||||
FindClose(SRF);
|
||||
until FindNext(SRD)<>0;
|
||||
end;
|
||||
FindClose(SRF);
|
||||
FindClose(SRD);
|
||||
|
||||
Result:=true;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user