From 6c5352e9deec3a48226577dea54a1826998ad144 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Wed, 17 Dec 2025 04:23:57 +0000 Subject: [PATCH] Fix _dbl_list_pop_front bug --- src/base/dbl_list/dbl_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/dbl_list/dbl_list.c b/src/base/dbl_list/dbl_list.c index 776822d..feee279 100644 --- a/src/base/dbl_list/dbl_list.c +++ b/src/base/dbl_list/dbl_list.c @@ -143,7 +143,7 @@ GenericNode *_dbl_list_pop_front(GenericList *list, u64 item_size) { output = list->first; if (list->node_count == 1) { - *list = (GenericList){0}; + *list = (GenericList){.magic = WAPP_DBL_LIST_MAGIC, .item_size = item_size}; goto RETURN_I32_LIST_POP_FRONT; }