* Metadata and rows are raw JSON object, freeandnil will not work

This commit is contained in:
michael 2018-01-20 14:10:43 +00:00
parent 6f51b33077
commit f13f7c6167

View File

@ -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)