[empathy] empathy-tp-chat: fix leak in dispose



commit 0df4d81f42b3657cd466df44ccffb78045e5d8c9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon May 25 13:40:15 2009 +0100

    empathy-tp-chat: fix leak in dispose
---
 libempathy/empathy-tp-chat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 69554bd..e818c77 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]