Fix double freeing of the camel exception; this prevents a crash when a

folder cannot be opened.

svn path=/trunk/; revision=3858
This commit is contained in:
Ettore Perazzoli
2000-07-02 21:25:15 +00:00
parent 514ae3ebe3
commit e497e9ad28
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-07-02 Ettore Perazzoli <ettore@helixcode.com>
* folder-browser.c (mail_uri_to_folder): Fix double freeing of the
local exception `ex'.
2000-07-01 Ettore Perazzoli <ettore@helixcode.com>
* mail-ops.c (refile_msg): Only allow type "mail" in the folder

View File

@ -156,7 +156,6 @@ mail_uri_to_folder (const char *name)
msg = g_strdup_printf ("Unable to get folder %s: %s\n", name,
camel_exception_get_description (ex));
gnome_error_dialog (msg);
camel_exception_free (ex);
if (folder) {
gtk_object_unref (GTK_OBJECT (folder));
folder = NULL;