aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-03 05:25:15 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-03 05:25:15 +0800
commite497e9ad28cdc787d66ea40e924b2775890e123c (patch)
tree9fd28020708556d7ebb51910d052aa0993381535
parent514ae3ebe3bc4a35902a6c72b047896c2ef2d6c8 (diff)
downloadgsoc2013-evolution-e497e9ad28cdc787d66ea40e924b2775890e123c.tar.gz
gsoc2013-evolution-e497e9ad28cdc787d66ea40e924b2775890e123c.tar.zst
gsoc2013-evolution-e497e9ad28cdc787d66ea40e924b2775890e123c.zip
Fix double freeing of the camel exception; this prevents a crash when a
folder cannot be opened. svn path=/trunk/; revision=3858
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c1
2 files changed, 5 insertions, 1 deletions
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 <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
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;