projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ec97d
)
Remove GLIB CRITICAL
author
Alberto Garcia
<agarcia@igalia.com>
Mon, 19 Nov 2007 18:22:08 +0000
(18:22 +0000)
committer
Alberto Garcia
<agarcia@igalia.com>
Mon, 19 Nov 2007 18:22:08 +0000
(18:22 +0000)
pmo-trunk-r3772
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
8b67e5b
..
ae8efe2
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-971,7
+971,7
@@
modest_mail_operation_save_to_drafts_cb (ModestMailOperation *self,
if (!priv->error) {
SaveToDraftsAddMsgInfo *cb_info = g_slice_new(SaveToDraftsAddMsgInfo);
cb_info->transport_account = g_object_ref(info->transport_account);
- cb_info->draft_msg = g_object_ref(info->draft_msg);
+ cb_info->draft_msg = info->draft_msg ? g_object_ref(info->draft_msg) : NULL;
cb_info->callback = info->callback;
cb_info->user_data = info->user_data;
cb_info->drafts = g_object_ref(drafts);