aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-25 03:06:35 +0800
committerMilan Crha <mcrha@redhat.com>2009-04-25 03:06:35 +0800
commitf081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c (patch)
treeba32fa33c34155d83a4acf08278952a5ba1e27be /mail/em-folder-utils.c
parent7088736007cca0e65306cd511ef50b5a57ae28b5 (diff)
downloadgsoc2013-evolution-f081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c.tar.gz
gsoc2013-evolution-f081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c.tar.zst
gsoc2013-evolution-f081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c.zip
Do not crash on delete folder
** Fix for bug #579306 * em-folder-utils.c: (em_folder_utils_delete_folder): Do not free uninitialized variable.
Diffstat (limited to 'mail/em-folder-utils.c')
-rw-r--r--mail/em-folder-utils.c2
1 files changed, 0 insertions, 2 deletions
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,