changeset 23016:49264628f72d

applied changes from 980e5e2fedd41d52ed3f1640268e8964d4b02cde through 7a490c356e10f7fff3432f875897aa0ca0ad1ff0
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 19 Jun 2008 02:54:25 +0000
parents 36aca45d5425
children c1b8ee4df034
files libpurple/protocols/yahoo/yahoo_picture.c libpurple/protocols/yahoo/yahoo_profile.c
diffstat 2 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_picture.c	Thu Jun 19 02:52:36 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_picture.c	Thu Jun 19 02:54:25 2008 +0000
@@ -137,9 +137,6 @@
 		if (url_data != NULL) {
 			yd = gc->proto_data;
 			yd->url_datas = g_slist_prepend(yd->url_datas, url_data);
-		} else {
-			g_free(data->who);
-			g_free(data);
 		}
 	} else if (who && send_icon_info) {
 		yahoo_send_picture_info(gc, who);
--- a/libpurple/protocols/yahoo/yahoo_profile.c	Thu Jun 19 02:52:36 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_profile.c	Thu Jun 19 02:54:25 2008 +0000
@@ -946,11 +946,6 @@
 				FALSE, yahoo_got_photo, info2_data);
 		if (url_data != NULL)
 			yd->url_datas = g_slist_prepend(yd->url_datas, url_data);
-		else {
-			g_free(info2_data->info_data->name);
-			g_free(info2_data->info_data);
-			g_free(info2_data);
-		}
 	} else {
 		/* Emulate a callback */
 		yahoo_got_photo(NULL, info2_data, NULL, 0, NULL);
@@ -1286,10 +1281,6 @@
 	url_data = purple_util_fetch_url(url, TRUE, NULL, FALSE, yahoo_got_info, data);
 	if (url_data != NULL)
 		yd->url_datas = g_slist_prepend(yd->url_datas, url_data);
-	else {
-		g_free(data->name);
-		g_free(data);
-	}
 
 	g_free(url);
 }