fix missing cxMempoolFree in json allocator test default tip

Thu, 28 Nov 2024 20:59:11 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 28 Nov 2024 20:59:11 +0100
changeset 997
d14f3d5f47d1
parent 996
333155f234c4

fix missing cxMempoolFree in json allocator test

tests/test_json.c file | annotate | diff | comparison | revisions
--- a/tests/test_json.c	Thu Nov 28 20:53:56 2024 +0100
+++ b/tests/test_json.c	Thu Nov 28 20:59:11 2024 +0100
@@ -360,6 +360,7 @@
         // this recursively frees everything 
         cxJsonValueFree(obj);
         cxJsonDestroy(&json);
+        cxMempoolFree(mp);
     }
 }
 

mercurial