projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7c30fe
)
* Merged fix for NB#85859 from trunk
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 16 Jul 2008 11:00:31 +0000
(11:00 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 16 Jul 2008 11:00:31 +0000
(11:00 +0000)
pmo-diablo-r5016
src/modest-tny-account-store.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
e047a2e
..
e83d10d
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-861,7
+861,7
@@
modest_tny_account_store_finalize (GObject *obj)
}
camel_shutdown ();
-
+
G_OBJECT_CLASS(parent_class)->finalize (obj);
}
@@
-2061,10
+2061,10
@@
remove_connection_specific_transport_accounts (ModestTnyAccountStore *self)
account = modest_tny_account_store_get_server_account (self,
transport_account_name,
TNY_ACCOUNT_TYPE_TRANSPORT);
- if (account) {
+
+ /* the call will free the reference */
+ if (account)
remove_transport_account (self, TNY_TRANSPORT_ACCOUNT (account));
- g_object_unref (account);
- }
}
iter = g_slist_next (iter);
}