Memory leaks in ..\fpcsrc\packages\fcl-db\tests\testjsondataset.pp
Original Reporter info from Mantis: nomorelogic
-
Reporter name:
Original Reporter info from Mantis: nomorelogic
- Reporter name:
Description:
-
compiling following source
..\fpcsrc\packages\fcl-db\tests\testjsondataset.pp
using -gh i found some memory lacks
attached a fix -
in function Extractdata line
P:=TJSONParser.Create(F);
shows following warning
testjsondataset.pp(19,29) Warning: Symbol "Create" is deprecated: "use options form instead"
I can't figure out how fix this
Thanks
nomorelogic
Steps to reproduce:
coompile using -gh
then run from shell
Mantis conversion info:
- Mantis ID: 36408
- Build: sample testjsondataset.pp
- Fixed in version: 3.3.1
- Fixed in revision: 43663 (#4ded1eb6)
- Target version: 3.2.0