aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-01-03 21:32:10 +0000
committerFrederic Culot <calcurse@culot.org>2009-01-03 21:32:10 +0000
commit936b6fe3737c760657d82c50fa6b81c3011ffa27 (patch)
treecb909cd269419fdf31134ecc407315765804e7c1 /src/args.c
parentbf3bce0ab2d6d5fc8448821fbfa29b48a1bb5994 (diff)
downloadcalcurse-936b6fe3737c760657d82c50fa6b81c3011ffa27.tar.gz
calcurse-936b6fe3737c760657d82c50fa6b81c3011ffa27.zip
more code cleanup
Diffstat (limited to 'src/args.c')
-rwxr-xr-xsrc/args.c7
1 files changed, 4 insertions, 3 deletions
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);
}
}