Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Wed Oct 14 15:28:27 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Thu Oct 15 09:21:18 2009 +0000 @@ -1140,10 +1140,12 @@ } } + if(im->fed != YAHOO_FEDERATION_NONE) + g_free(fed_from); + g_free(im); } - if (fed_from != im->from) - g_free(fed_from); + g_slist_free(list); }