Revision 5f2ade60742df3494a35555c993685f4436f72ec

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Mar 25 03:35:20 EDT 2007


o   -----------------------------------------------------------------
|   Revision: 5f2ade60742df3494a35555c993685f4436f72ec
|   Ancestor: 2412edcc74b8f1fd73bbfe9d7d1b380c2f70d2a5
|   Author: markdoliner at pidgin.im
|   Date: 2007-03-25T07:34:51
|   Branch: im.pidgin.pidgin
|   
|   Modified files:
|           libpurple/protocols/yahoo/yahoo_packet.c pidgin/gtkblist.c
|   
|   ChangeLog: 
|   
|   Fix a small tooltip-related memleak
|   
|   ============================================================
|   --- libpurple/protocols/yahoo/yahoo_packet.c	859a90a09071025a0a5ea854c4814bfb0dfbed1d
|   +++ libpurple/protocols/yahoo/yahoo_packet.c	0717a54568f1c17317522aa9b0f44a5434a2e116
|   @@ -161,6 +161,7 @@ void yahoo_packet_read(struct yahoo_pack
|    		}
|    
|    		if (accept) {
|   +			/* TODO: strstr() should not be used here because data isn't NULL terminated */
|    			delimiter = (const guchar *)strstr((char *)&data[pos], "\xc0\x80");
|    			if (delimiter == NULL)
|    			{
|   ============================================================
|   --- pidgin/gtkblist.c	701cf65517da75cedf0ea9cd72de5de9987e0196
|   +++ pidgin/gtkblist.c	8b531b6d853dbcfddc7df5ef4cc985834e2f6dab
|   @@ -2279,6 +2279,7 @@ static struct tooltip_data * create_tip_
|    	else
|    		tmp = g_markup_escape_text(purple_chat_get_name((PurpleChat*)node), -1);
|    	node_name = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>", tmp);
|   +	g_free(tmp);
|    
|    	pango_layout_set_markup(td->layout, tooltip_text, -1);
|    	pango_layout_set_wrap(td->layout, PANGO_WRAP_WORD);

To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from 5f2ade60742df3494a35555c993685f4436f72ec


More information about the Commits mailing list