projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b51c4
)
* Fixes NB#85859, fixes a crash when deleting an account
author
Sergio Villar Senin
<svillar@igalia.com>
Fri, 13 Jun 2008 09:59:45 +0000
(09:59 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 13 Jun 2008 09:59:45 +0000
(09:59 +0000)
pmo-trunk-r4679
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
540446c
..
2e6c748
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-845,7
+845,7
@@
modest_tny_account_store_finalize (GObject *obj)
}
camel_shutdown ();
-
+
G_OBJECT_CLASS(parent_class)->finalize (obj);
}
@@
-2045,10
+2045,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);
}