Tue, 29 Jan 2013 22:54:22 +0200
MXit: Fix small memory leak when viewing the profile of an incoming invite.
| libpurple/protocols/mxit/profile.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/mxit/profile.c Tue Jan 29 14:45:07 2013 +0100 +++ b/libpurple/protocols/mxit/profile.c Tue Jan 29 22:54:22 2013 +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 )