im.pidgin.pidgin: 8d61a119c53ac77e595d5ec300d30482b914bdf7

markdoliner at markdoliner at
Tue Oct 16 03:35:34 EDT 2007

Revision: 8d61a119c53ac77e595d5ec300d30482b914bdf7
Ancestor: 63a37bce425022f4c52fab82e7169ed73f50a49e
Author: markdoliner at
Date: 2007-10-16T07:31:41
Branch: im.pidgin.pidgin

Modified files:


Only free the GString "alt" if it's non-null.  This was causing an
assertion failure when either sending or receiving a direct IM
(or maybe both) with HTML logging on (and maybe other types of
logging--I didn't check).

Fixes #3514

-------------- next part --------------
--- libpurple/util.c	d521c665770b892fcb65e5701b37a75faa40a457
+++ libpurple/util.c	425bc6051900e27e0161e44a544d77c92a3a9215
@@ -1515,8 +1515,8 @@ purple_markup_html_to_xhtml(const char *
 							plain = g_string_append(plain, alt->str);
 						if(!src && xhtml)
 							xhtml = g_string_append(xhtml, alt->str);
+						g_string_free(alt, TRUE);
-					g_string_free(alt, TRUE);
 					g_string_free(src, TRUE);

More information about the Commits mailing list