From f081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 24 Apr 2009 21:06:35 +0200 Subject: 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 56918b19fb..5bbf0366b5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2009-04-24 Milan Crha + + ** Fix for bug #579306 + + * em-folder-utils.c: (em_folder_utils_delete_folder): + Do not free uninitialized variable. + 2009-04-24 Milan Crha ** Fix for bug #563954 diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c index ea177b65ce..80d4fde143 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, -- cgit v1.2.3