X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-attachment-view.c;h=0a2e7da1d782002973e90bcd315bf14c8ee60a99;hb=004d9cc40cbfab9477b1d216f28fd5bf16cda7cb;hp=0d171bf5bf56269a4a847a720514a5288b8dc8b6;hpb=3b214150a992267f0722e89c94759f8e3c637c0a;p=modest diff --git a/src/widgets/modest-attachment-view.c b/src/widgets/modest-attachment-view.c index 0d171bf..0a2e7da 100644 --- a/src/widgets/modest-attachment-view.c +++ b/src/widgets/modest-attachment-view.c @@ -203,7 +203,7 @@ modest_attachment_view_set_part_default (TnyMimePartView *self, TnyMimePart *mim g_object_unref (priv->mime_part); } - priv->mime_part = mime_part; + priv->mime_part = g_object_ref (mime_part); priv->size = 0; priv->is_purged = tny_mime_part_is_purged (mime_part);