changeset 23039:25975a6a5b63

applied changes from 9409309cfd4634425fdacbdb3d751afd0bc89a84 through 7a36a9ecbcc902ee89656d5267e613aa1dc0b889
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 19 Jun 2008 03:40:31 +0000
parents 4ead1ab25573
children 1367fb4d56f1
files libpurple/protocols/yahoo/yahoo_picture.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_picture.c	Thu Jun 19 03:39:32 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_picture.c	Thu Jun 19 03:40:31 2008 +0000
@@ -137,6 +137,9 @@
 		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);