mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-17 05:49:05 +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
|
begin
|
||||||
If FOwnsData then
|
If FOwnsData then
|
||||||
begin
|
begin
|
||||||
FreeAndNil(FRows);
|
FRows:=Nil
|
||||||
FreeAndNil(FMetaData);
|
FMetaData:=Nil;
|
||||||
end;
|
end;
|
||||||
if (FCurrentList<>FDefaultList) then
|
if (FCurrentList<>FDefaultList) then
|
||||||
FreeAndNil(FCurrentList)
|
FreeAndNil(FCurrentList)
|
||||||
|
Loading…
Reference in New Issue
Block a user