X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-msg-edit-window.c;h=0f127a32cb053a78a5f27777dd21adafba76e2a6;hp=aab42cb609e471832d5a99d200dc4954b728dd2f;hb=518e2f866b4ddaa35443cef48c874a358be0851f;hpb=26115266d345b8f613af8b26f1b0c8c6e4c1a85b;ds=sidebyside diff --git a/src/maemo/modest-msg-edit-window.c b/src/maemo/modest-msg-edit-window.c index aab42cb..0f127a3 100644 --- a/src/maemo/modest-msg-edit-window.c +++ b/src/maemo/modest-msg-edit-window.c @@ -1008,6 +1008,7 @@ replace_with_images (ModestMsgEditWindow *self, TnyList *attachments) } g_object_unref (part); } + g_object_unref (iter); } static void @@ -1085,6 +1086,7 @@ update_last_cid (ModestMsgEditWindow *self, TnyList *attachments) } g_object_unref (part); } + g_object_unref (iter); } static void @@ -1628,6 +1630,7 @@ modest_msg_edit_window_get_msg_data (ModestMsgEditWindow *edit_window) g_object_unref (part); tny_iterator_next (att_iter); } + g_object_unref (att_iter); data->priority_flags = priv->priority_flags; @@ -2336,6 +2339,7 @@ modest_msg_edit_window_remove_attachments (ModestMsgEditWindow *window, gtk_text_buffer_set_modified (priv->text_buffer, TRUE); g_object_unref (mime_part); } + g_object_unref (iter); } g_object_unref (att_list);