aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index fb6909c5c5..c91152b62b 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -346,6 +346,11 @@ impl_dispose (GObject *object)
}
#endif
+ if (priv->component_registry != NULL) {
+ g_object_unref (priv->component_registry);
+ priv->component_registry = NULL;
+ }
+
if (priv->offline_handler != NULL) {
g_object_unref (priv->offline_handler);
priv->offline_handler = NULL;