mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 20:40:37 +02:00
* Remove additional memleak
This commit is contained in:
parent
9fe350bd91
commit
bc2d1cf51c
@ -5954,7 +5954,11 @@ begin
|
||||
SetLength(FFields,Len);
|
||||
FFieldsResolved:=True;
|
||||
if Len=0 then
|
||||
begin
|
||||
if Assigned(Tbl) then
|
||||
FreeMem(Tbl);
|
||||
exit;
|
||||
end;
|
||||
Ctx:=TRttiContext.Create;
|
||||
try
|
||||
Ctx.UsePublishedOnly:=False;
|
||||
|
Loading…
Reference in New Issue
Block a user