From: Sergio Villar Senin Date: Mon, 8 Jun 2009 07:40:44 +0000 (+0200) Subject: Fixes NB#121163, crash when selecting special folders in new folder dialog X-Git-Tag: 3.0.17-rc12~10 X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=13a6f218747f48162aa1b4b15c281b6edd1992c4;p=modest Fixes NB#121163, crash when selecting special folders in new folder dialog --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index dd3275c..27db767 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -3433,14 +3433,10 @@ do_create_folder_performer (gboolean canceled, ModestMailOperation *mail_op; if (canceled || err) { - TnyAccount *account = modest_mail_operation_get_account (mail_op); /* In disk full conditions we could get this error here */ modest_tny_account_store_check_disk_full_error (modest_runtime_get_account_store(), (GtkWidget *) parent_window, err, - account, - _("mail_in_ui_folder_create_error_memory")); - if (account) - g_object_unref (account); + NULL, _("mail_in_ui_folder_create_error_memory")); /* This happens if we have selected the outbox folder as the parent */