[evolution] Do not crash on delete folder
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution] Do not crash on delete folder
- Date: Fri, 24 Apr 2009 15:07:44 -0400 (EDT)
commit f081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c
Author: Milan Crha <mcrha redhat com>
Date: Fri Apr 24 21:06:35 2009 +0200
Do not crash on delete folder
** Fix for bug #579306
* em-folder-utils.c: (em_folder_utils_delete_folder):
Do not free uninitialized variable.
---
mail/ChangeLog | 7 +++++++
mail/em-folder-utils.c | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 56918b1..5bbf036 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2009-04-24 Milan Crha <mcrha redhat com>
+ ** Fix for bug #579306
+
+ * em-folder-utils.c: (em_folder_utils_delete_folder):
+ Do not free uninitialized variable.
+
+2009-04-24 Milan Crha <mcrha redhat com>
+
** Fix for bug #563954
* message-list.c: (regen_list_exec): Sort UIDs before
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index ea177b6..80d4fde 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -401,7 +401,6 @@ em_folder_utils_delete_folder (CamelFolder *folder)
{
CamelStore *local;
GtkWidget *dialog;
- char *uri;
int flags = 0;
local = mail_component_peek_local_store (NULL);
@@ -418,7 +417,6 @@ em_folder_utils_delete_folder (CamelFolder *folder)
return;
}
- g_free (uri);
camel_object_ref (folder);
dialog = e_error_new(NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]