pidgin: f018e11a: Plug a small leak
datallah at pidgin.im
datallah at pidgin.im
Fri Jan 2 02:46:35 EST 2009
-----------------------------------------------------------------
Revision: f018e11a7ea08e07f22667e6daca2ec7e64f9710
Ancestor: 0ac2a2c73622e108ed3c2505b2af170462992e72
Author: datallah at pidgin.im
Date: 2009-01-02T07:43:30
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f018e11a7ea08e07f22667e6daca2ec7e64f9710
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
Plug a small leak
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c 859ba7874df76a1c81b7bb8f22101aac285daea1
+++ libpurple/protocols/yahoo/yahoo.c 77a00df3ae84b6924a95f94a96a27f26ad331436
@@ -4167,8 +4167,7 @@ yahoopurple_cmd_chat_join(PurpleConversa
"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);
More information about the Commits
mailing list