diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-08 23:39:29 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-15 16:28:41 +0800 |
commit | 27591216de0bdbf8cfecd562414faa34138a1a52 (patch) | |
tree | 09f328fb79b0f6bd1c09e993b4da8f3c182e9091 /libempathy/empathy-contact-manager.c | |
parent | 52d2d0aff0c3a8bbbdd433bb63434207c2e74001 (diff) | |
download | gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.tar gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.tar.gz gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.tar.bz2 gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.tar.lz gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.tar.xz gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.tar.zst gsoc2013-empathy-27591216de0bdbf8cfecd562414faa34138a1a52.zip |
check that logger is not NULL before unrefing it
Diffstat (limited to 'libempathy/empathy-contact-manager.c')
-rw-r--r-- | libempathy/empathy-contact-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index d0ba13054..fd7b08b14 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -375,7 +375,8 @@ contact_manager_finalize (GObject *object) tp_proxy_signal_connection_disconnect (priv->favourite_contacts_changed_signal); - g_object_unref (priv->logger); + if (priv->logger != NULL) + g_object_unref (priv->logger); g_hash_table_foreach (priv->lists, contact_manager_disconnect_foreach, |