From: Jose Dapena Paz Date: Thu, 19 Jul 2007 15:15:09 +0000 (+0000) Subject: * src/modest-formatter.c: X-Git-Tag: git_migration_finished~2786 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=bdfbed899b92bcc8d79ad0a0687e902695d4c017 * src/modest-formatter.c: * Add an unref to avoid leaking a reference. pmo-trunk-r2755 --- diff --git a/src/modest-formatter.c b/src/modest-formatter.c index 3fac885..5a3ced8 100644 --- a/src/modest-formatter.c +++ b/src/modest-formatter.c @@ -403,6 +403,7 @@ modest_formatter_create_body_part (ModestFormatter *self, TnyMsg *msg) alternative_part = part; break; } + g_object_unref (part); tny_iterator_next (iter); } result = tny_platform_factory_new_mime_part (fact);