diff options
author | Olli Salli <olli.salli@collabora.co.uk> | 2007-04-27 18:15:27 +0000 |
---|---|---|
committer | Olli Salli <olli.salli@collabora.co.uk> | 2007-04-27 18:15:27 +0000 |
commit | 53b29a1f2437a24397f6a46cdbc555b712ae769c (patch) | |
tree | 9317f1dee61e0e695c032f69a7a43aa2598cd7f1 | |
parent | fe6198da9761d622e3fcd88e8dc21df02f92df0e (diff) |
Dispose of queued AliasesChanged crack in idle_connection_dispose
-rw-r--r-- | src/idle-connection.c | 6 | ||||
-rw-r--r-- | src/idle-parser.c | 2 |
2 files changed, 7 insertions, 1 deletions
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}, |