projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bce69e
)
* Fixes NB#91414, fixes a memory leak
author
Sergio Villar Senin
<svillar@igalia.com>
Fri, 7 Nov 2008 12:17:57 +0000
(12:17 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 7 Nov 2008 12:17:57 +0000
(12:17 +0000)
pmo-trunk-r6232
src/modest-singletons.c
patch
|
blob
|
history
diff --git
a/src/modest-singletons.c
b/src/modest-singletons.c
index
09249b0
..
8b9ed7d
100644
(file)
--- a/
src/modest-singletons.c
+++ b/
src/modest-singletons.c
@@
-242,6
+242,12
@@
modest_singletons_finalize (GObject *obj)
priv->email_clipboard = NULL;
}
+ if (priv->plugin_factory) {
+ MODEST_DEBUG_VERIFY_OBJECT_LAST_REF(priv->plugin_factory,"");
+ g_object_unref (G_OBJECT(priv->plugin_factory));
+ priv->plugin_factory = NULL;
+ }
+
/* It is important that the account manager is uninitialized after
* the mail op queue is uninitialized because the mail op queue
* cancells any mail operations which in turn access the account