From 34eaa85ef35993da46f9151aafc4f4049af2c3c3 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 14 Dec 2006 08:29:33 +0000 Subject: improvements in the memory deallocation in next_arg() --- src/args.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/args.c b/src/args.c index d987d7b..292a19b 100755 --- a/src/args.c +++ b/src/args.c @@ -1,4 +1,4 @@ -/* $calcurse: args.c,v 1.10 2006/12/11 09:36:47 culot Exp $ */ +/* $calcurse: args.c,v 1.11 2006/12/14 08:29:33 culot Exp $ */ /* * Calcurse - text-based organizer @@ -283,6 +283,8 @@ void next_arg(void) fputs(mesg, stdout); fputs("\n", stdout); } + free(next_app->txt); + free(next_app); } /* -- cgit v1.2.3-70-g09d2