Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/libymsg.c @ 28754:29e96fb6cff3
Yahoo prpl is crashing everytime a message from a yahoo buddy is received (have not checked federated ids).
Fixed this issue.
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Thu, 15 Oct 2009 09:21:18 +0000 |
parents | 61856d0a2714 |
children | 75aab8587e90 318ac22eb05d 7819d3819f4c 168fcd171875 |
comparison
equal
deleted
inserted
replaced
28753:3c230409556d | 28754:29e96fb6cff3 |
---|---|
1138 yahoo_friend_set_buddy_icon_need_request(f, FALSE); | 1138 yahoo_friend_set_buddy_icon_need_request(f, FALSE); |
1139 } | 1139 } |
1140 } | 1140 } |
1141 } | 1141 } |
1142 | 1142 |
1143 if(im->fed != YAHOO_FEDERATION_NONE) | |
1144 g_free(fed_from); | |
1145 | |
1143 g_free(im); | 1146 g_free(im); |
1144 } | 1147 } |
1145 if (fed_from != im->from) | 1148 |
1146 g_free(fed_from); | |
1147 g_slist_free(list); | 1149 g_slist_free(list); |
1148 } | 1150 } |
1149 | 1151 |
1150 static void yahoo_process_sysmessage(PurpleConnection *gc, struct yahoo_packet *pkt) | 1152 static void yahoo_process_sysmessage(PurpleConnection *gc, struct yahoo_packet *pkt) |
1151 { | 1153 { |