mirror of
https://github.com/json-c/json-c.git
synced 2026-11-05 21:20:16 +08:00
Issue #923: Avoid stack recursion in json_object_put() so heavily nested object trees can be freed.
This commit is contained in:
1 parent
e50fb04154
commit
17328a6713
4 files changed
+168
-15
No files matched your search
+1
-1
@@ -72,7 +72,7 @@ extern int array_list_add(struct array_list *al, void *data);
|
||||
* Set the value at index i. Caller is responsible for freeing the previous value.
|
||||
* To automatically free the existing value, use array_list_put_idx() instead.
|
||||
*/
|
||||
extern int array_list_set_idx(struct array_list *al, size_t i, void *data);
|
||||
extern int array_list_set_idx(struct array_list *al, size_t i, void *data);
|
||||
|
||||
extern size_t array_list_length(struct array_list *al);
|
||||
|
||||
|
||||
Reference in new issue
Block a user