211:07a284486fa1 | 212:c766c423dee6 |
---|---|
74 e = e->next; | 74 e = e->next; |
75 alfree(alloc, f); | 75 alfree(alloc, f); |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 void ucx_list_free_contents(UcxList* list, ucx_destructor destr) { | 79 void ucx_list_free_content(UcxList* list, ucx_destructor destr) { |
80 while (list != NULL) { | 80 while (list != NULL) { |
81 destr(list->data); | 81 destr(list->data); |
82 list = list->next; | 82 list = list->next; |
83 } | 83 } |
84 } | 84 } |