Commit 1439eb8c 1439eb8c94bd9ae56e2834fdbf9f9c8ae99847ed by Sergey Poznyakoff

(list_set_destroy_item): Minor fix

1 parent a26dd5c4
......@@ -336,6 +336,7 @@ list_set_destroy_item (list_t list, void (*destroy_item)(void *item))
if (list == NULL)
return EINVAL;
list->destroy_item = destroy_item;
return 0;
}
int
......