[empathy] empathy-tp-chat: fix leak in dispose
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] empathy-tp-chat: fix leak in dispose
- Date: Tue, 26 May 2009 11:49:30 -0400 (EDT)
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]