projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6e266
)
Fixes a potential crash when moving messages
author
Sergio Villar Senin
<svillar@igalia.com>
Fri, 23 Jan 2009 11:56:36 +0000
(11:56 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 23 Jan 2009 11:56:36 +0000
(11:56 +0000)
pmo-trunk-r7259
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
523435a
..
9383d97
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-5778,6
+5778,10
@@
modest_ui_actions_on_edit_mode_move_to (ModestWindow *win)
folder_view = NULL;
list_to_move = modest_platform_get_list_to_move (MODEST_WINDOW (win));
+
+ if (!list_to_move)
+ return FALSE;
+
if (tny_list_get_length (list_to_move) < 1) {
g_object_unref (list_to_move);
return FALSE;