From: Jose Dapena Paz Date: Tue, 1 Jul 2008 14:15:10 +0000 (+0000) Subject: * src/modest-mail-operation.c: X-Git-Tag: git_migration_finished~1286 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=6d468b7495df51350ddbcca3b6cdf3b1a70dc24a * src/modest-mail-operation.c: * Avoid leaking a reference on getting new headers. pmo-trunk-r4844 --- diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 23c6136..7691b5f 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -1197,7 +1197,7 @@ static void foreach_add_item (gpointer header, gpointer user_data) { tny_list_prepend (TNY_LIST (user_data), - g_object_ref (G_OBJECT (header))); + G_OBJECT (header)); } /* This is the method that looks for new messages in a folder */