pidgin: af00ae63: Yahoo prpl is crashing everytime a messa...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Thu Oct 15 05:26:45 EDT 2009


-----------------------------------------------------------------
Revision: af00ae634db8d99b296a90e1e0777bd23bd4df6a
Ancestor: cf54c088cd2fb4d7c86c3303f9cb93d7d0236d61
Author: sulabh at soc.pidgin.im
Date: 2009-10-15T09:21:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/af00ae634db8d99b296a90e1e0777bd23bd4df6a

Modified files:
        libpurple/protocols/yahoo/libymsg.c

ChangeLog: 

Yahoo prpl is crashing everytime a message from a yahoo buddy is received (have not checked federated ids). 
Fixed this issue.  

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	569501e171e2fee8cf415967bf005f447d806bdb
+++ libpurple/protocols/yahoo/libymsg.c	42c3ad231f84c9ce00c9d4df11076394ad549a2d
@@ -1140,10 +1140,12 @@ static void yahoo_process_message(Purple
 			}
 		}
 
+		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);
 }
 


More information about the Commits mailing list