pidgin: 6a13176e: Use g_free instead of free here too.

sadrul at pidgin.im sadrul at pidgin.im
Tue Dec 9 10:47:23 EST 2008


-----------------------------------------------------------------
Revision: 6a13176e096cf5e7cefc5716496a0a7afd2e2621
Ancestor: b57a2e18b438718ff0358f998d73cade6e757bae
Author: sadrul at pidgin.im
Date: 2008-12-09T15:45:46
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6a13176e096cf5e7cefc5716496a0a7afd2e2621

Modified files:
        libpurple/protocols/yahoo/yahoo_aliases.c

ChangeLog: 

Use g_free instead of free here too.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_aliases.c	0b2219a4c6ecf72dc38c4e1828ee321615df096b
+++ libpurple/protocols/yahoo/yahoo_aliases.c	3998f5dd68caf66551db891e5f92b97f8946bbf9
@@ -301,7 +301,7 @@ yahoo_update_alias(PurpleConnection *gc,
 						  "<ct a=\"1\" yi='%s' nn='%s' />\n</ab>\r\n",
 						  purple_account_get_username(gc->account),
 						  who, converted_alias_jp);
-			free(converted_alias_jp);
+			g_free(converted_alias_jp);
 			g_free(alias_jp);
 		} else {
 			gchar *escaped_alias = g_markup_escape_text(alias, -1);
@@ -321,7 +321,7 @@ yahoo_update_alias(PurpleConnection *gc,
 						  "<ct e=\"1\"  yi='%s' id='%s' nn='%s' pr='0' />\n</ab>\r\n",
 						  purple_account_get_username(gc->account),
 						  who, cb->id, converted_alias_jp);
-			free(converted_alias_jp);
+			g_free(converted_alias_jp);
 			g_free(alias_jp);
 		} else {
 			gchar *escaped_alias = g_markup_escape_text(alias, -1);


More information about the Commits mailing list