pidgin.2.4.3: c0d70759: applied changes from 980e5e2fedd41d52ed3...

datallah at pidgin.im datallah at pidgin.im
Wed Jun 18 23:52:38 EDT 2008


-----------------------------------------------------------------
Revision: c0d707595454d8b1b32fb0856153b5ed25093938
Ancestor: c9cb7b37cc03a8597999b098d88d032df55efb34
Author: datallah at pidgin.im
Date: 2008-06-19T02:54:25
Branch: im.pidgin.pidgin.2.4.3
URL: http://d.pidgin.im/viewmtn/revision/info/c0d707595454d8b1b32fb0856153b5ed25093938

Modified files:
        libpurple/protocols/yahoo/yahoo_picture.c
        libpurple/protocols/yahoo/yahoo_profile.c

ChangeLog: 

applied changes from 980e5e2fedd41d52ed3f1640268e8964d4b02cde
             through 7a490c356e10f7fff3432f875897aa0ca0ad1ff0

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_picture.c	791256f2ae246ee1bfe137ebca33456df49c5bba
+++ libpurple/protocols/yahoo/yahoo_picture.c	d97debbe4f7e7827719183145df01cec07e3d94f
@@ -137,9 +137,6 @@ void yahoo_process_picture(PurpleConnect
 		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);
============================================================
--- libpurple/protocols/yahoo/yahoo_profile.c	26d6480e16b0ae61c3c76aa84fc75d6481e38c6d
+++ libpurple/protocols/yahoo/yahoo_profile.c	6937058169d592bf9a9e0e10aa4200d1427ca7cc
@@ -946,11 +946,6 @@ static void yahoo_got_info(PurpleUtilFet
 				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 @@ void yahoo_get_info(PurpleConnection *gc
 	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);
 }


More information about the Commits mailing list