From: Jean-Philippe Orsini Date: Wed, 15 Oct 2014 20:14:51 +0000 (+0200) Subject: fixed crash when creating task with a project containing a task with a tag. X-Git-Tag: v0.0.9~13 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask.git;a=commitdiff_plain;h=654dba93221e5318023163e45c42c6612e02a79d fixed crash when creating task with a project containing a task with a tag. --- diff --git a/src/tw.c b/src/tw.c index d363e45..db731e9 100644 --- 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);