From 936b6fe3737c760657d82c50fa6b81c3011ffa27 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 3 Jan 2009 21:32:10 +0000 Subject: more code cleanup --- src/args.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/args.c') diff --git a/src/args.c b/src/args.c index 56a5ba2..e43323a 100755 --- a/src/args.c +++ b/src/args.c @@ -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); } } -- cgit v1.2.3-54-g00ecf