--- a/tests/test_json.c Sun Dec 22 23:10:07 2024 +0100 +++ b/tests/test_json.c Mon Dec 23 00:33:27 2024 +0100 @@ -552,6 +552,7 @@ CX_TEST_ASSERT(i == cxJsonAsInteger(elem)); i += 3; } + cxJsonValueFree(v); } cxJsonDestroy(&json); }