diff --git a/c/jv.c b/c/jv.c index be50c6f6..53e2ef7d 100644 --- a/c/jv.c +++ b/c/jv.c @@ -768,6 +768,7 @@ jv jv_object_merge(jv a, jv b) { jv_object_iter_key(b, i), jv_object_iter_value(b, i)); } + jv_free(b); return a; }