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
     1.1 --- a/test/test_allocator.c	Sun Feb 07 12:20:07 2021 +0100
     1.2 +++ b/test/test_allocator.c	Sun Feb 07 12:27:21 2021 +0100
     1.3 @@ -59,6 +59,8 @@
     1.4  }
     1.5  
     1.6  void test_default_free(void) {
     1.7 +    void* test = malloc(16);
     1.8 +    cxFree(cxDefaultAllocator, test);
     1.9      CU_PASS("Testing standard free is not possible.")
    1.10  }
    1.11  

mercurial