Mercurial > pidgin
changeset 24669:c0226e400836
Use g_free instead of free here too.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 09 Dec 2008 15:45:46 +0000 |
parents | fdd9fd5c2086 |
children | 2d9871e73000 25e6f323b68f aaff578063d1 |
files | libpurple/protocols/yahoo/yahoo_aliases.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_aliases.c Tue Dec 09 15:45:15 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_aliases.c Tue Dec 09 15:45:46 2008 +0000 @@ -301,7 +301,7 @@ "<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 @@ "<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);