summaryrefslogtreecommitdiffstats
path: root/todo.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-01-09 17:00:35 +0900
committerFreeArtMan <dos21h@gmail.com>2015-01-09 17:00:35 +0900
commit3e989921c29534d38dbf6009851389fc4f4e226e (patch)
tree0f9e9c97e87c90ce90c596b5a9c0230d063e2952 /todo.c
parent8522c8656c313a9a3b956b0e6c816a8e54d15b7b (diff)
downloadmicrobbs-3e989921c29534d38dbf6009851389fc4f4e226e.tar.gz
microbbs-3e989921c29534d38dbf6009851389fc4f4e226e.zip
Mem leak fixes, warning fixes
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 );
}
}