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:
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user