test/test_list.c

changeset 491
6d538177f746
parent 489
af6be1e123aa
child 492
188942a7308b
     1.1 --- a/test/test_list.c	Tue Dec 28 17:41:51 2021 +0100
     1.2 +++ b/test/test_list.c	Tue Dec 28 17:49:52 2021 +0100
     1.3 @@ -581,6 +581,10 @@
     1.4      CxList list = cxLinkedListFromArray(cxTestingAllocator, (CxListComparator) cmp_int, sizeof(int), 5, data);
     1.5  
     1.6      CU_ASSERT_TRUE(0 == cxListCompare(list, expected))
     1.7 +
     1.8 +    cxLinkedListDestroy(list);
     1.9 +    cxLinkedListDestroy(expected);
    1.10 +    CU_ASSERT_TRUE(cxTestingAllocatorVerify())
    1.11  }
    1.12  
    1.13  void test_hl_linked_list_add(void) {

mercurial