fixed crash when creating task with a project containing a task with a tag.
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 15 Oct 2014 20:14:51 +0000 (22:14 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 15 Oct 2014 20:14:51 +0000 (22:14 +0200)
src/tw.c

index d363e45..db731e9 100644 (file)
--- a/src/tw.c
+++ b/src/tw.c
@@ -515,7 +515,7 @@ static void task_free(struct task *task)
                        free(*tags);
                        tags++;
                }
-               free(tags);
+               free(task->tags);
        }
 
        free(task);