diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-18 20:59:38 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-18 20:59:38 +0800 |
commit | a0245771bae2daef647b9027c6873e0f97aafa4f (patch) | |
tree | 5b34e192b0fa0b097d41e9e7e609b125ec1a71ed /mail | |
parent | 992c8b7d58025cf4d04ed3665210f191c8048339 (diff) | |
download | gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.tar gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.tar.gz gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.tar.bz2 gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.tar.lz gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.tar.xz gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.tar.zst gsoc2013-evolution-a0245771bae2daef647b9027c6873e0f97aafa4f.zip |
Do not dereference NULL local_error variable
Diffstat (limited to 'mail')
-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; } |