fix another missing free() in json tests

Mon, 23 Dec 2024 00:33:27 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 23 Dec 2024 00:33:27 +0100
changeset 1051
7d17bd1103d7
parent 1050
3df63e95921a
child 1052
e997862a57d8

fix another missing free() in json tests

tests/test_json.c file | annotate | diff | comparison | revisions
--- 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);
 }

mercurial