diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-12 04:45:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-12 04:45:10 +0800 |
commit | fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2 (patch) | |
tree | b0fcefe4e5dec52acd3344014aa5912b51716c73 /shell | |
parent | 5ee24ecb73357537623089e04bc38423c8ec3351 (diff) | |
download | gsoc2013-evolution-fd5752f425eb6e440ff4f6f8bde81e8b834fb2f2.tar.gz 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/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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; } |