aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-12 04:45:10 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-12 04:45:10 +0800
commitfd5752f425eb6e440ff4f6f8bde81e8b834fb2f2 (patch)
treeb0fcefe4e5dec52acd3344014aa5912b51716c73 /shell
parent5ee24ecb73357537623089e04bc38423c8ec3351 (diff)
downloadgsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar
gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar.gz
gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar.bz2
gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar.lz
gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar.xz
gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar.zst
gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.zip
(setup_bonobo_conf_private_directory): g_free() not
free(), since we allocate with glib functions. [#19899] svn path=/trunk/; revision=18047
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-setup.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index b0b9279fff..8cd97efd0c 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-11 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-setup.c (setup_bonobo_conf_private_directory): g_free() not
+ free(), since we allocate with glib functions. [#19899]
+
2002-09-05 Mike Kestner <mkestner@ximian.com>
* Makefile.am : no longer distribute the etstate files.
diff --git a/shell/e-setup.c b/shell/e-setup.c
index b3d41509c4..ee5227f789 100644
--- a/shell/e-setup.c
+++ b/shell/e-setup.c
@@ -282,16 +282,16 @@ setup_bonobo_conf_private_directory (const char *evolution_directory)
_("Evolution could not create directory\n"
"%s:\n%s"),
name, strerror (errno));
- free (name);
+ g_free (name);
return FALSE;
}
- free (name);
+ g_free (name);
return TRUE;
}
if (S_ISDIR (buf.st_mode) && access (name, R_OK | W_OK | X_OK) == 0) {
- free (name);
+ g_free (name);
return TRUE;
}
@@ -309,7 +309,7 @@ setup_bonobo_conf_private_directory (const char *evolution_directory)
name, strerror (errno));
}
- free (name);
+ g_free (name);
return FALSE;
}