ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Refcounting in dwsJSON produces double-free error #318

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. obj := TdwsJSONObject.ParseString('{"Key": "value"}') as TdwsJSONObject;
2. key := obj['Key'];
3. key.Free;

What is the expected output? What do you see instead?
Expected: this should work.
Observed: Invalid pointer operation. (Double-free error.)

What version of the product are you using? On what operating system?

SVN build 1633.

Original issue reported on code.google.com by masonwhe...@gmail.com on 14 Dec 2012 at 2:55

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1660.

Original comment by zar...@gmail.com on 14 Dec 2012 at 3:12