(setup_bonobo_conf_private_directory): g_free() not

free(), since we allocate with glib functions.  [#19899]

svn path=/trunk/; revision=18047
This commit is contained in:
Ettore Perazzoli
2002-09-11 20:45:10 +00:00
parent 5ee24ecb73
commit fd5752f425
2 changed files with 9 additions and 4 deletions

View File

@ -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.

View File

@ -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;
}