evolution-data-server/bgo-530543-leak-while-syncing-mails-for-offline.diff

21 lines
607 B
Diff

Index: camel/providers/groupwise/camel-groupwise-folder.c
===================================================================
--- camel/providers/groupwise/camel-groupwise-folder.c 2008/05/19 10:15:17 8806
+++ camel/providers/groupwise/camel-groupwise-folder.c 2008/05/19 10:16:56 8807
@@ -201,6 +201,7 @@
camel_message_info_free (&mi->info);
g_free (container_id);
+ g_object_unref (item);
return msg;
}
@@ -1449,6 +1450,7 @@
}
/******************** Caching stuff ends *************************/
i++;
+ g_object_unref (item);
}
camel_operation_end (NULL);
g_free (container_id);