summaryrefslogtreecommitdiff
path: root/libpurple/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpurple/util.c')
-rw-r--r--libpurple/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/util.c b/libpurple/util.c
index f205efeb24..46c573dd23 100644
--- a/libpurple/util.c
+++ b/libpurple/util.c
@@ -1532,8 +1532,8 @@ purple_markup_html_to_xhtml(const char *html, char **xhtml_out,
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);
continue;
}