aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-09-23 17:31:56 +0000
committerFrederic Culot <calcurse@culot.org>2008-09-23 17:31:56 +0000
commit9a97689c484f2b54a3d15bf59f74abc67b8b38b1 (patch)
treecd781c8e94ecf31b93bb42f4732d6cbdedc36671 /src/utils.c
parent6ce12bfedf635cf5315aa854bae76a0d509bb786 (diff)
downloadcalcurse-9a97689c484f2b54a3d15bf59f74abc67b8b38b1.tar.gz
calcurse-9a97689c484f2b54a3d15bf59f74abc67b8b38b1.zip
Some fixes after ical import tests. Translations updated.
Diffstat (limited to 'src/utils.c')
-rwxr-xr-xsrc/utils.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 0c0a425..482edac 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.51 2008/09/21 08:06:43 culot Exp $ */
+/* $calcurse: utils.c,v 1.52 2008/09/23 17:31:57 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -999,3 +999,10 @@ str_toupper (char *s)
s[len] = toupper (s[len]);
return s;
}
+
+void
+mem_free (void *ptr)
+{
+ if (ptr)
+ free (ptr);
+}