libpurple/protocols/mxit/markup.c

changeset 37426
6fd4989b77e4
parent 37158
96b5ab42da00
child 37901
41e45e18f3b2
--- a/libpurple/protocols/mxit/markup.c	Mon Dec 21 15:00:42 2015 -0500
+++ b/libpurple/protocols/mxit/markup.c	Mon Dec 21 15:05:58 2015 -0500
@@ -258,8 +258,7 @@
 	if ( mx ) {
 		if ( mx->msg )
 			g_string_free( mx->msg, TRUE );
-		if ( mx->from )
-			g_free( mx->from );
+		g_free(mx->from);
 		g_free( mx );
 	}
 }

mercurial