Mercurial > pidgin.yaz
changeset 24865:b26e8a41a937
Plug a small leak
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 07:43:30 +0000 |
parents | f977d7dfd1a0 |
children | fec1e38cb330 ae544623840b c0b42d6c2785 |
files | libpurple/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Fri Jan 02 07:42:04 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Fri Jan 02 07:43:30 2009 +0000 @@ -4167,8 +4167,7 @@ "Trying to join %s \n", args[0]); comp = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); - g_hash_table_replace(comp, g_strdup("room"), - g_strdup_printf("%s", g_ascii_strdown(args[0], strlen(args[0])))); + g_hash_table_replace(comp, g_strdup("room"), g_ascii_strdown(args[0], -1)); g_hash_table_replace(comp, g_strdup("type"), g_strdup("Chat")); yahoo_c_join(gc, comp);