1.1 --- a/test/list_tests.c Thu Oct 15 16:52:53 2015 +0200 1.2 +++ b/test/list_tests.c Wed Oct 21 16:32:30 2015 +0200 1.3 @@ -340,8 +340,8 @@ 1.4 UCX_TEST_ASSERT(world != copy->next->data, "second element is no copy"); 1.5 1.6 UCX_TEST_END 1.7 - free(copy->next->data); 1.8 - free(copy->data); 1.9 + 1.10 + ucx_list_free_contents(copy, free); 1.11 1.12 free(world); 1.13 free(hello);