projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691800a
)
Bugfix for 82296
author
Philip Van Hoof
<philip@codeminded.be>
Fri, 21 Mar 2008 12:57:53 +0000
(12:57 +0000)
committer
Philip Van Hoof
<philip@codeminded.be>
Fri, 21 Mar 2008 12:57:53 +0000
(12:57 +0000)
pmo-trunk-r4336
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
930b104
..
68594a4
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-1577,6
+1577,11
@@
modest_mail_operation_update_account (ModestMailOperation *self,
return;
}
+
+ /* We have once seen priv->account getting finalized during this code,
+ * therefore adding a reference (bug #82296) */
+
+ g_object_ref (priv->account);
/* Create the helper object */
info = g_slice_new0 (UpdateAccountInfo);
@@
-1610,6
+1615,9
@@
modest_mail_operation_update_account (ModestMailOperation *self,
recurse_folders_async_cb,
NULL, info);
g_object_unref (folders);
+
+ g_object_unref (priv->account);
+
}
/*