projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41c33d2
)
* src/modest-mail-operation.c:
author
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 1 Jul 2008 14:15:10 +0000
(14:15 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 1 Jul 2008 14:15:10 +0000
(14:15 +0000)
* Avoid leaking a reference on getting new headers.
pmo-trunk-r4844
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
23c6136
..
7691b5f
100644
(file)
--- 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),
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 */
}
/* This is the method that looks for new messages in a folder */