[empathy] chatroom: don't leak the subject



commit 5f6f70aa1e354af05675aa601ec168a879a1b8d2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jun 20 13:26:55 2011 +0200

    chatroom: don't leak the subject

 libempathy/empathy-chatroom.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-chatroom.c b/libempathy/empathy-chatroom.c
index 7e06076..5238af3 100644
--- a/libempathy/empathy-chatroom.c
+++ b/libempathy/empathy-chatroom.c
@@ -213,6 +213,7 @@ chatroom_finalize (GObject *object)
 	g_object_unref (priv->account);
 	g_free (priv->room);
 	g_free (priv->name);
+	g_free (priv->subject);
 
 	(G_OBJECT_CLASS (empathy_chatroom_parent_class)->finalize) (object);
 }



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