mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 02:19:06 +08:00
Fix a memory leak in test1 with respect to how json_object_object_del was used.
This commit is contained in:
@@ -27,6 +27,7 @@ my_array=
|
||||
[3]=2
|
||||
[4]=3
|
||||
my_array.to_string()=[ null, 0, 1, 2, 3 ]
|
||||
baz_obj.to_string()="fark"
|
||||
my_object=
|
||||
abc: 12
|
||||
foo: "bar"
|
||||
|
||||
Reference in New Issue
Block a user