diff --git a/json.c b/json.c index d1d2178..8905fd2 100644 --- a/json.c +++ b/json.c @@ -916,6 +916,7 @@ void json_free_object(typed(json_object) * object) { if (entry != NULL) { free((void *)entry->key); json_free(&entry->element); + free(entry); } }