aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}