won't fix anything but for the sake of correctness

This commit is contained in:
jacekpoz 2024-03-11 01:22:02 +01:00
parent 5f79936acc
commit a7d5059475
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -7,6 +7,7 @@ Node *node_new(void *value, size_t element_size) {
Node *new = (Node*)malloc(sizeof(Node));
new->value = memcpy(malloc(element_size), value, sizeof(element_size));
new->next = NULL;
new->prev = NULL;
return new;
}