diff --git a/markdown/markdown.c b/markdown/markdown.c
index 5c5ec70..12a30f5 100644
--- a/markdown/markdown.c
+++ b/markdown/markdown.c
@@ -201,6 +201,7 @@ s32 markdown_titles_leave_block (MD_BLOCKTYPE type, void *detail,
(const s_list * const *)
&str_list))
return -1;
+ list_delete_all(str_list);
if (tuple_list->type != TAG_LIST) {
err_puts("markdown_titles_leave_block: tuple_list is not a List");
assert(! "markdown_titles_leave_block: tuple_list is not a List");