This commit is contained in:
Matej Hajduk 2025-04-08 13:27:12 +02:00
parent f5141b1e0c
commit 419d8ead1f

View File

@ -4,7 +4,7 @@
list_t *new_list(size_t length, list_element_t elements[]) {
list_t *list = malloc(sizeof(list_t) + sizeof(list_element_t) * length);
if (!x) return NULL;
if (!list) return NULL;
list->length = length;
for (size_t i = 0; i < length; ++i) {