aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@src.gnome.org>2005-03-03 02:23:21 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-03-03 02:23:21 +0800
commitbf9dfb886cdc9b4b8753f9742b795787c39364dd (patch)
tree236981ffd4218fb6bd5e56d830b74f4f1919159b
parenta4a674c9f1018333f0c83368ed5de3bff453799d (diff)
downloadgsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.tar
gsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.tar.gz
gsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.tar.bz2
gsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.tar.lz
gsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.tar.xz
gsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.tar.zst
gsoc2013-evolution-bf9dfb886cdc9b4b8753f9742b795787c39364dd.zip
Reverted not approved patch
svn path=/trunk/; revision=28942
-rw-r--r--plugins/save-calendar/csv-format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index e414571af8..4f10d14a2a 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -161,7 +161,7 @@ add_time_to_csv (GString *line, icaltimetype *time, CsvConfig *config)
if (time) {
gboolean needquotes = FALSE;
struct tm mytm = icaltimetype_to_tm (time);
- gchar *str = (char*) g_malloc (sizeof (char) * 200);
+ char *str = (char*) malloc (sizeof (char) * 200);
/*
* Translator: the %F %T is the thirth argument for a strftime function.
@@ -179,7 +179,7 @@ add_time_to_csv (GString *line, icaltimetype *time, CsvConfig *config)
if (needquotes)
line = g_string_append (line, config->quote);
- g_free (str);
+ free (str);
}