diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-18 20:59:38 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:19 +0800 |
commit | a9734efa53fe1014426b1eb8ae41dee81ece57fd (patch) | |
tree | b1332b3c227acffbbccd7e914f78a2e3e01c2e5f /mail/em-folder-tree.c | |
parent | dfc4205ce569594e83772ac8e0c04f5ca8c2a019 (diff) | |
download | gsoc2013-evolution-a9734efa53fe1014426b1eb8ae41dee81ece57fd.tar.gz gsoc2013-evolution-a9734efa53fe1014426b1eb8ae41dee81ece57fd.tar.zst gsoc2013-evolution-a9734efa53fe1014426b1eb8ae41dee81ece57fd.zip |
Do not dereference NULL local_error variable
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 62590689bb..9304adda5c 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -659,8 +659,9 @@ folder_tree_cell_edited_cb (EMFolderTree *folder_tree, e_alert_run_dialog_for_args ( parent, "mail:no-rename-folder", old_full_name, new_full_name, - local_error->message, NULL); - g_clear_error (&local_error); + local_error ? local_error->message : _("Unknown error"), NULL); + if (local_error) + g_clear_error (&local_error); goto exit; } |