diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,4 +130,5 @@ listremove(struct list *list) { list->next->prev = list->prev; list->prev->next = list->next; + list->next = list->prev = NULL; } |