about summary refs log tree commit diff
path: root/Src/linklist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/linklist.c')
-rw-r--r--Src/linklist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/linklist.c b/Src/linklist.c
index 9062d3cd8..26b2c5e0e 100644
--- a/Src/linklist.c
+++ b/Src/linklist.c
@@ -41,6 +41,7 @@ newlinklist(void)
     list = (LinkList) zhalloc(sizeof *list);
     list->list.first = NULL;
     list->list.last = &list->node;
+    list->list.flags = 0;
     return list;
 }
 
@@ -53,6 +54,7 @@ znewlinklist(void)
     list = (LinkList) zalloc(sizeof *list);
     list->list.first = NULL;
     list->list.last = &list->node;
+    list->list.flags = 0;
     return list;
 }