Remove redundant check (g_free does this for us)

Fri, 04 May 2012 07:33:51 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Fri, 04 May 2012 07:33:51 +0000
changeset 32979
e891b5995bf7
parent 32978
15ee0ec69dfa
child 32980
2e99ae2e1aba
child 32983
b24f582761a4

Remove redundant check (g_free does this for us)

libpurple/protocols/msn/msg.c file | annotate | diff | comparison | revisions
--- 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)
 	{

mercurial