aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/json.c b/src/json.c
index 2b143ee..1e61e10 100644
--- a/src/json.c
+++ b/src/json.c
@@ -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

Return to:

Send suggestions and report system problems to the System administrator.