Tue, 18 Dec 2012 10:45:03 +0200
Memory leak when viewing an incoming invite that contains a profile picture.
| libpurple/protocols/mxit/profile.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/mxit/profile.c Tue Dec 18 01:02:51 2012 +0200 +++ b/libpurple/protocols/mxit/profile.c Tue Dec 18 10:45:03 2012 +0200 @@ -266,6 +266,7 @@ char* img_text; img_text = g_strdup_printf( "<img id='%d'>", contact->imgid ); purple_notify_user_info_add_pair( info, _( "Photo" ), img_text ); + g_free( img_text ); } if ( contact->statusMsg )