diff --git a/common/markup.c b/common/markup.c index 35f1a3b0b..71f584c8a 100644 --- a/common/markup.c +++ b/common/markup.c @@ -151,6 +151,7 @@ markup_parse_text(GMarkupParseContext *context __attribute__ ((unused)), rlen = a_strlen(p->text) + 1 + text_len; p_realloc(&p->text, rlen); a_strncat(p->text, rlen, esc, text_len); + p_delete(&esc); } /** Create a markup_parser_data_t structure with elements list.