forked from AuroraMiddleware/gtk
textbufferserialize: do not leak list of tags
This commit is contained in:
parent
90b78f89d3
commit
a0f2e6990f
@ -576,6 +576,8 @@ serialize_text (GtkTextBuffer *buffer,
|
||||
}
|
||||
while (!gtk_text_iter_equal (&iter, &context->end));
|
||||
|
||||
g_slist_free (tag_list);
|
||||
|
||||
/* Close any open tags */
|
||||
for (tag_list = active_tags; tag_list; tag_list = tag_list->next)
|
||||
g_string_append (context->text_str, "</apply_tag>");
|
||||
|
Loading…
Reference in New Issue
Block a user