[polari/wip/fmuellner/stricter-highlighting: 62/63] room: Plug a leak
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/stricter-highlighting: 62/63] room: Plug a leak
- Date: Wed, 29 Aug 2018 17:45:21 +0000 (UTC)
commit 3b66375816e816165e9d0a8f227342e26c6e37cf
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Aug 6 16:54:57 2018 +0200
room: Plug a leak
We currently only free the string on nick updates, but not when
disposing the room object itself.
https://gitlab.gnome.org/GNOME/polari/issues/69
src/lib/polari-room.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/lib/polari-room.c b/src/lib/polari-room.c
index a0ed414..ab62690 100644
--- a/src/lib/polari-room.c
+++ b/src/lib/polari-room.c
@@ -789,6 +789,7 @@ polari_room_finalize (GObject *object)
g_clear_pointer (&priv->channel_name, g_free);
g_clear_pointer (&priv->display_name, g_free);
+ g_clear_pointer (&priv->self_nick, g_free);
G_OBJECT_CLASS (polari_room_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]