mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-03 02:39:22 +02:00
codetools: c parser: fixed mem leak
git-svn-id: trunk@14659 -
This commit is contained in:
parent
ab2e97512f
commit
dce2481e79
@ -1094,6 +1094,7 @@ begin
|
||||
FreeAndNil(Tree);
|
||||
ReAllocMem(FIfStack,0);
|
||||
FIfStackCapacity:=0;
|
||||
FreeAndNil(FDefaultTokenList);
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
|
@ -50,8 +50,19 @@
|
||||
<OtherUnitFiles Value="scanexamples/"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Checks>
|
||||
<IOChecks Value="True"/>
|
||||
<RangeChecks Value="True"/>
|
||||
<OverflowChecks Value="True"/>
|
||||
<StackChecks Value="True"/>
|
||||
</Checks>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<UseHeaptrc Value="True"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
|
Loading…
Reference in New Issue
Block a user