diff options
author | Frederic Culot <calcurse@culot.org> | 2009-01-03 21:32:10 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-01-03 21:32:10 +0000 |
commit | 936b6fe3737c760657d82c50fa6b81c3011ffa27 (patch) | |
tree | cb909cd269419fdf31134ecc407315765804e7c1 /src/args.c | |
parent | bf3bce0ab2d6d5fc8448821fbfa29b48a1bb5994 (diff) | |
download | calcurse-936b6fe3737c760657d82c50fa6b81c3011ffa27.zip |
more code cleanup
Diffstat (limited to 'src/args.c')
-rwxr-xr-x | src/args.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,8 +1,8 @@ -/* $calcurse: args.c,v 1.43 2008/12/28 19:41:45 culot Exp $ */ +/* $calcurse: args.c,v 1.44 2009/01/03 21:32:11 culot Exp $ */ /* * Calcurse - text-based organizer - * Copyright (c) 2004-2008 Frederic Culot + * Copyright (c) 2004-2009 Frederic Culot * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,6 +39,7 @@ #include "apoint.h" #include "day.h" #include "todo.h" +#include "mem.h" #include "io.h" #ifdef HAVE_CONFIG_H @@ -248,7 +249,7 @@ next_arg (void) (void)snprintf (mesg, BUFSIZ, " [%02d:%02d] %s\n", hours_left, min_left, next_app.txt); fputs (mesg, stdout); - free (next_app.txt); + mem_free (next_app.txt); } } |