Issue #923: Avoid stack recursion in json_object_put() so heavily nested object trees can be freed.

This commit is contained in:
Eric Hawicz
2026-04-24 12:56:40 -04:00
parent fe30bc7e66
commit 96a2496fc3
4 changed files with 168 additions and 15 deletions

View File

@@ -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);