diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-account-manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c index 5548a90e6..f7cb09a87 100644 --- a/libempathy/empathy-account-manager.c +++ b/libempathy/empathy-account-manager.c @@ -507,7 +507,9 @@ account_manager_name_owner_cb (TpDBusDaemon *proxy, /* MC5 quit or crashed for some reason, let's start it again */ account_manager_start_mc5 (priv->dbus); - g_object_unref (priv->tp_manager); + if (priv->tp_manager != NULL) + g_object_unref (priv->tp_manager); + priv->tp_manager = NULL; return; } |