From fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 11 Sep 2002 20:45:10 +0000 Subject: [PATCH] (setup_bonobo_conf_private_directory): g_free() not free(), since we allocate with glib functions. [#19899] svn path=/trunk/; revision=18047 --- shell/ChangeLog | 5 +++++ shell/e-setup.c | 8 ++++---- 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 + + * e-setup.c (setup_bonobo_conf_private_directory): g_free() not + free(), since we allocate with glib functions. [#19899] + 2002-09-05 Mike Kestner * 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; }