Closed GoogleCodeExporter closed 9 years ago
Additional note. Simple elements in SuperArray do not cause memory leak.
Original comment by MarkRadf...@gmail.com
on 7 Jan 2015 at 6:24
Found the solution. The ISuperArray interface was missing the two Add methods
for ISuperArray and ISuperObject. Adding them to the interface solved the
memory issues. Must have been calling one of the other overloaded Add methods
(variant, JSONAncestor, etc.) which leaked the memory. Discovered this by
creating array directly from JSON text which DID NOT leak.
on ISuperArray interface add the following two to match the TSuperArray class:
procedure Add(Value: ISuperObject); overload;
procedure Add(Value: ISuperArray); overload;
Original comment by MarkRadf...@gmail.com
on 8 Jan 2015 at 8:41
Thanks for the info Mark.. this may be the cause of some memory leaks i am
seeing in my app too...
Original comment by geraldsa...@gmail.com
on 24 Feb 2015 at 5:11
This issue was closed by revision r89.
Original comment by onryld...@gmail.com
on 10 Mar 2015 at 10:20
Original issue reported on code.google.com by
MarkRadf...@gmail.com
on 7 Jan 2015 at 6:22Attachments: