im.pidgin.pidgin: 82743a9bd82c2c23498b62d3532151dd6b5b8c77

datallah at pidgin.im datallah at pidgin.im
Thu Oct 18 12:25:44 EDT 2007


-----------------------------------------------------------------
Revision: 82743a9bd82c2c23498b62d3532151dd6b5b8c77
Ancestor: 9f2e0be2b91112e99baa40160913b63794df625f
Author: datallah at pidgin.im
Date: 2007-10-17T18:20:41
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/msn/msnutils.c

ChangeLog: 

Avoid unnecessary alloc/free.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msnutils.c	e96ce0af47e118d1fdd43c0c46fc8aa2233a3888
+++ libpurple/protocols/msn/msnutils.c	00634c8ed409c688a0282e4d99d1a69a232e260e
@@ -445,10 +445,9 @@ msn_import_html(const char *html, char *
 	*attributes = g_strdup_printf("FN=%s; EF=%s; CO=%s; PF=0; RL=%c",
 								  encode_spaces(fontface),
 								  fonteffect, fontcolor, direction);
-	*message = g_strdup(msg);
+	*message = msg;
 
 	g_free(fontface);
-	g_free(msg);
 }
 
 void


More information about the Commits mailing list