From e497e9ad28cdc787d66ea40e924b2775890e123c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 2 Jul 2000 21:25:15 +0000 Subject: Fix double freeing of the camel exception; this prevents a crash when a folder cannot be opened. svn path=/trunk/; revision=3858 --- mail/ChangeLog | 5 +++++ mail/folder-browser.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 5c569ed639..b7b9179b01 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-07-02 Ettore Perazzoli + + * folder-browser.c (mail_uri_to_folder): Fix double freeing of the + local exception `ex'. + 2000-07-01 Ettore Perazzoli * mail-ops.c (refile_msg): Only allow type "mail" in the folder diff --git a/mail/folder-browser.c b/mail/folder-browser.c index f6ac2dda5c..ebbf6dbfcb 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -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; -- cgit