soc.2008.yahoo: 0c508c75: clear a double free bug

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Sun Mar 8 03:25:38 EDT 2009


-----------------------------------------------------------------
Revision: 0c508c7510e33e37463b30726e4c37169a6599b1
Ancestor: 1109293160530b7effc539478b3d2bdf38724eba
Author: sulabh at soc.pidgin.im
Date: 2009-03-08T05:45:46
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/0c508c7510e33e37463b30726e4c37169a6599b1

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

ChangeLog: 

clear a double free bug

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	efa9ad4aef7603b6b7e71cc79596da8e2231df49
+++ libpurple/protocols/yahoo/yahoo.c	6f5940764abba39d0f26ceb1c2fad43f7f1e96cc
@@ -1230,7 +1230,7 @@ static void yahoo_buddy_auth_req_15(Purp
 		}
 
 		if(protocol == 0)
-			who = temp;
+			who = g_strdup(temp);
 		else if(protocol == 2)
 			who = g_strconcat("msn/", temp, NULL);
 


More information about the Commits mailing list