mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:09:17 +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);
|
IncludeFile(FileDir+SR.Name);
|
||||||
until FindNext(SR)<>0;
|
until FindNext(SR)<>0;
|
||||||
end;
|
end;
|
||||||
|
FindClose(SR);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
log(llWarning, SLogIncludeFileMaskDoesNotExist, [FileDir, AFileNameMask]);
|
log(llWarning, SLogIncludeFileMaskDoesNotExist, [FileDir, AFileNameMask]);
|
||||||
|
@ -143,7 +143,7 @@ begin
|
|||||||
FindClose(SRF);
|
FindClose(SRF);
|
||||||
until FindNext(SRD)<>0;
|
until FindNext(SRD)<>0;
|
||||||
end;
|
end;
|
||||||
FindClose(SRF);
|
FindClose(SRD);
|
||||||
|
|
||||||
Result:=true;
|
Result:=true;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user