--- a/src/linked_list.c Sun Feb 07 19:42:12 2021 +0100
+++ b/src/linked_list.c Sun Feb 07 20:05:26 2021 +0100
@@ -100,6 +100,9 @@
if (node == NULL)
return 1;
+ node->next = NULL;
+ node->data = elem;
+
int ret = cx_linked_list_add(
(void **) &listdata->begin,
(void **) &listdata->end,