diff options
author | Frederic Culot <calcurse@culot.org> | 2006-12-14 08:29:33 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-12-14 08:29:33 +0000 |
commit | 34eaa85ef35993da46f9151aafc4f4049af2c3c3 (patch) | |
tree | e35cac926435424b24062235b46af0768903adbb | |
parent | 414e20753aef26172c3ee97837a57acfbaaa8aca (diff) | |
download | calcurse-34eaa85ef35993da46f9151aafc4f4049af2c3c3.zip |
improvements in the memory deallocation in next_arg()
-rwxr-xr-x | src/args.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); } /* |