changeset 32775:4acc5b98f143

Remove redundant check (g_free does this for us)
author Mark Doliner <mark@kingant.net>
date Fri, 04 May 2012 07:33:51 +0000
parents 069919a0896c
children 804239d704ff 1c0d9e817dcc
files libpurple/protocols/msn/msg.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Thu May 03 09:28:11 2012 +0000
+++ b/libpurple/protocols/msn/msg.c	Fri May 04 07:33:51 2012 +0000
@@ -379,8 +379,7 @@
 	if (len > 1664)
 		len = 1664;
 
-	if (msg->body != NULL)
-		g_free(msg->body);
+	g_free(msg->body);
 
 	if (data != NULL && len > 0)
 	{