From: Sergio Villar Senin Date: Wed, 18 Mar 2009 17:13:22 +0000 (+0000) Subject: Fixes FwNULL 4/16 X-Git-Tag: git_migration_finished~265 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=3449c1e0b6acdd87e28263928d9cf079f075e06f Fixes FwNULL 4/16 pmo-trunk-r8171 --- diff --git a/src/hildon2/modest-msg-view-window.c b/src/hildon2/modest-msg-view-window.c index 280a3ff..f34f2b6 100644 --- a/src/hildon2/modest-msg-view-window.c +++ b/src/hildon2/modest-msg-view-window.c @@ -2481,7 +2481,8 @@ modest_msg_view_window_view_attachment (ModestMsgViewWindow *window, mime_part = (TnyMimePart *) tny_iterator_get_current (iter); g_object_unref (iter); } - g_object_unref (selected_attachments); + if (selected_attachments) + g_object_unref (selected_attachments); if (error) goto frees;