diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-01-09 17:00:35 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-01-09 17:00:35 +0900 |
commit | 3e989921c29534d38dbf6009851389fc4f4e226e (patch) | |
tree | 0f9e9c97e87c90ce90c596b5a9c0230d063e2952 /todo.c | |
parent | 8522c8656c313a9a3b956b0e6c816a8e54d15b7b (diff) | |
download | microbbs-3e989921c29534d38dbf6009851389fc4f4e226e.tar.gz microbbs-3e989921c29534d38dbf6009851389fc4f4e226e.zip |
Mem leak fixes, warning fixes
Diffstat (limited to 'todo.c')
-rw-r--r-- | todo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 ); } } |