mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-22 12:09:22 +02:00
* Metadata and rows are raw JSON object, freeandnil will not work
This commit is contained in:
parent
6f51b33077
commit
f13f7c6167
@ -374,8 +374,8 @@ procedure TBaseJSONDataSet.FreeData;
|
||||
begin
|
||||
If FOwnsData then
|
||||
begin
|
||||
FreeAndNil(FRows);
|
||||
FreeAndNil(FMetaData);
|
||||
FRows:=Nil
|
||||
FMetaData:=Nil;
|
||||
end;
|
||||
if (FCurrentList<>FDefaultList) then
|
||||
FreeAndNil(FCurrentList)
|
||||
|
Loading…
Reference in New Issue
Block a user