diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-25 03:06:35 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-04-25 03:06:35 +0800 |
commit | f081b36f4c0ad6220d4b0f4f41b8a60cd9af4a6c (patch) | |
tree | ba32fa33c34155d83a4acf08278952a5ba1e27be /mail | |
parent | 7088736007cca0e65306cd511ef50b5a57ae28b5 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | 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,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 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, |