summaryrefslogtreecommitdiff
path: root/todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'todo.c')
-rw-r--r--todo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/todo.c b/todo.c
index cd64f98..52b4e8c 100644
--- a/todo.c
+++ b/todo.c
@@ -37,6 +37,7 @@ int bbs_todo( term_screen *ts, const char *fname)
llist_push( todo_list, l );
goto cycle0;
exit_cycle0:;
+ if ( l != NULL ) free( l );
}
}