projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
60ae717
)
Fix reference leaks causing power consuption because of running IDLE.
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 27 Aug 2009 11:36:46 +0000
(13:36 +0200)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 27 Aug 2009 23:04:33 +0000
(
01:04
+0200)
* src/modest-mail-operation.c (inbox_refreshed_cb): fix reference leaks in
new_headers list, that could cause IDLE to be running after receiving a
message, forever (fixes NB#131550).
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
3b12158
..
aa1d1cd
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-1765,11
+1765,13
@@
inbox_refreshed_cb (TnyFolder *inbox,
NULL, msg_info);
g_object_unref (folder);
+ g_object_unref (header);
msg_num++;
tny_iterator_next (iter);
}
g_object_unref (iter);
+ g_object_unref (new_headers);
/* The mail operation will finish when the last
message is retrieved */