Mercurial > pidgin
comparison libpurple/protocols/yahoo/yahoo.c @ 24897:b26e8a41a937
Plug a small leak
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 07:43:30 +0000 |
parents | 9fb7910c1176 |
children | f0c2e27c7ae7 e7f0570f01cf c0b42d6c2785 0a19fa42f8ce af5c36fe8d6f |
comparison
equal
deleted
inserted
replaced
24896:f977d7dfd1a0 | 24897:b26e8a41a937 |
---|---|
4165 id = yd->conf_id; | 4165 id = yd->conf_id; |
4166 purple_debug(PURPLE_DEBUG_INFO, "yahoo", | 4166 purple_debug(PURPLE_DEBUG_INFO, "yahoo", |
4167 "Trying to join %s \n", args[0]); | 4167 "Trying to join %s \n", args[0]); |
4168 | 4168 |
4169 comp = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); | 4169 comp = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); |
4170 g_hash_table_replace(comp, g_strdup("room"), | 4170 g_hash_table_replace(comp, g_strdup("room"), g_ascii_strdown(args[0], -1)); |
4171 g_strdup_printf("%s", g_ascii_strdown(args[0], strlen(args[0])))); | |
4172 g_hash_table_replace(comp, g_strdup("type"), g_strdup("Chat")); | 4171 g_hash_table_replace(comp, g_strdup("type"), g_strdup("Chat")); |
4173 | 4172 |
4174 yahoo_c_join(gc, comp); | 4173 yahoo_c_join(gc, comp); |
4175 | 4174 |
4176 g_hash_table_destroy(comp); | 4175 g_hash_table_destroy(comp); |