diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:34:18 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:34:18 +0800 |
commit | 638056b7fb08f3293d570102e2cd41f5c4a98530 (patch) | |
tree | 9de3a2047f1f73c48282db53d2c2ec1d1679d257 /libempathy-gtk | |
parent | c7676f656d3dfaf8e3644dcd60e5e51fa2dd058c (diff) | |
download | gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.tar gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.tar.gz gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.tar.bz2 gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.tar.lz gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.tar.xz gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.tar.zst gsoc2013-empathy-638056b7fb08f3293d570102e2cd41f5c4a98530.zip |
unref store once only
svn path=/trunk/; revision=2328
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-selector.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c index 1a8954d02..322fedc24 100644 --- a/libempathy-gtk/empathy-contact-selector.c +++ b/libempathy-gtk/empathy-contact-selector.c @@ -339,7 +339,11 @@ empathy_contact_selector_dispose (GObject *object) EmpathyContactSelector *selector = EMPATHY_CONTACT_SELECTOR (object); EmpathyContactSelectorPriv *priv = GET_PRIV (selector); - g_object_unref (priv->store); + if (priv->store) + { + g_object_unref (priv->store); + priv->store = NULL; + } (G_OBJECT_CLASS (empathy_contact_selector_parent_class)->dispose) (object); } |