add at least a cxFree() call, even if we can't test it

Sun, 07 Feb 2021 12:27:21 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 07 Feb 2021 12:27:21 +0100
changeset 392
c195c33de85d
parent 391
f094a53c1178
child 393
8c0421ccbb58

add at least a cxFree() call, even if we can't test it

test/test_allocator.c file | annotate | diff | comparison | revisions
--- a/test/test_allocator.c	Sun Feb 07 12:20:07 2021 +0100
+++ b/test/test_allocator.c	Sun Feb 07 12:27:21 2021 +0100
@@ -59,6 +59,8 @@
 }
 
 void test_default_free(void) {
+    void* test = malloc(16);
+    cxFree(cxDefaultAllocator, test);
     CU_PASS("Testing standard free is not possible.")
 }
 

mercurial