From 0df4d81f42b3657cd466df44ccffb78045e5d8c9 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 25 May 2009 13:40:15 +0100 Subject: empathy-tp-chat: fix leak in dispose --- libempathy/empathy-tp-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-tp-chat.c') diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 69554bd8a..e818c779d 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -694,7 +694,7 @@ tp_chat_dispose (GObject *object) g_object_unref (priv->factory); priv->factory = NULL; - if (priv->user != NULL); + if (priv->user != NULL) g_object_unref (priv->user); priv->user = NULL; -- cgit v1.2.3