projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef62c30
)
* src/modest-mail-operation.c
author
Alberto Garcia
<agarcia@igalia.com>
Wed, 12 Mar 2008 14:04:34 +0000
(14:04 +0000)
committer
Alberto Garcia
<agarcia@igalia.com>
Wed, 12 Mar 2008 14:04:34 +0000
(14:04 +0000)
(modest_mail_operation_get_msgs_full): Fix memory leak
Fixes NB#80198
pmo-trunk-r4301
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
7c522bc
..
6f7d2ab
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-2271,6
+2271,7
@@
modest_mail_operation_get_msgs_full (ModestMailOperation *self,
has_uncached_messages = TRUE;
g_object_unref (header);
}
+ g_object_unref (iter);
priv->op_type = has_uncached_messages?MODEST_MAIL_OPERATION_TYPE_RECEIVE:MODEST_MAIL_OPERATION_TYPE_OPEN;
/* Get account and set it into mail_operation */