fixed memory leak
when RecordLoadJSON() is executed directly without any previous RecordSaveJSON() under Delphi 2010 and up