diff options
Diffstat (limited to 'src/llist.c')
-rw-r--r-- | src/llist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llist.c b/src/llist.c index 9a379c6..b1c2df7 100644 --- a/src/llist.c +++ b/src/llist.c @@ -34,7 +34,7 @@ * */ -#include "calcurse.h" +#include "calcurse.h" /* * Initialize a list. @@ -54,7 +54,7 @@ llist_free (llist_t *l) llist_item_t *i, *t; for (i = l->head; i; i = t) - { + { t = i->next; mem_free (i); } |