From 53b29a1f2437a24397f6a46cdbc555b712ae769c Mon Sep 17 00:00:00 2001 From: Olli Salli Date: Fri, 27 Apr 2007 18:15:27 +0000 Subject: Dispose of queued AliasesChanged crack in idle_connection_dispose 20070427181527-9db4d-e6482abae289a74bbf636e9f68788367eaac9f36.gz --- src/idle-connection.c | 6 ++++++ src/idle-parser.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/idle-connection.c b/src/idle-connection.c index 6d6a4c1..3609232 100644 --- a/src/idle-connection.c +++ b/src/idle-connection.c @@ -302,6 +302,12 @@ static void idle_connection_dispose (GObject *object) { priv->conn = NULL; } + if (priv->queued_aliases_owners) + tp_handle_set_destroy(priv->queued_aliases_owners); + + if (priv->queued_aliases) + g_ptr_array_free(priv->queued_aliases, TRUE); + g_object_unref(self->parser); if (G_OBJECT_CLASS (idle_connection_parent_class)->dispose) diff --git a/src/idle-parser.c b/src/idle-parser.c index 6cd7554..7a5539f 100644 --- a/src/idle-parser.c +++ b/src/idle-parser.c @@ -86,7 +86,7 @@ const static MessageSpec message_specs[] = { {"473", "IIIr", IDLE_PARSER_NUMERIC_INVITEONLYCHAN}, {"324", "IIIrvs", IDLE_PARSER_NUMERIC_MODEREPLY}, {"353", "IIIIrvC", IDLE_PARSER_NUMERIC_NAMEREPLY}, - {"366", "IIIIr", IDLE_PARSER_NUMERIC_NAMEREPLY_END}, + {"366", "IIIr", IDLE_PARSER_NUMERIC_NAMEREPLY_END}, {"433", "III", IDLE_PARSER_NUMERIC_NICKNAMEINUSE}, {"401", "IIIc", IDLE_PARSER_NUMERIC_NOSUCHNICK}, {"306", "III", IDLE_PARSER_NUMERIC_NOWAWAY}, -- cgit v1.2.3