diff options
-rw-r--r-- | src/json.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -525,8 +525,10 @@ json_free_object(struct json_value *val) struct json_pair *next = p->next; free(p->k); json_value_free(p->v); + free(p); p = next; } + free(val->v.o); } static int |