Mercurial > pidgin.yaz
changeset 22120:a6715d41e062
Get rid of an unnecessary allocation.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Wed, 16 Jan 2008 06:29:52 +0000 |
parents | 392bfb84d372 |
children | 0a0fa9fd5feb |
files | libpurple/protocols/yahoo/yahoo_aliases.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_aliases.c Tue Jan 15 19:33:20 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_aliases.c Wed Jan 16 06:29:52 2008 +0000 @@ -254,7 +254,7 @@ cb->gc = gc; /* Build all the info to make the web request */ - url = g_strdup(yd->jp? YAHOOJP_ALIAS_UPDATE_URL: YAHOO_ALIAS_UPDATE_URL); + url = yd->jp? YAHOOJP_ALIAS_UPDATE_URL: YAHOO_ALIAS_UPDATE_URL; purple_url_parse(url, &webaddress, &inttmp, &webpage, &strtmp, &strtmp); if (yd->jp) { @@ -289,7 +289,6 @@ } g_free(content); - g_free(url); g_free(request); }