summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 3807da9..021d5a3 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -1165,7 +1165,7 @@ extern void cmark_parse_inlines(cmark_mem *mem, cmark_node *parent,
process_emphasis(&subj, NULL);
// free bracket and delim stack
while (subj.last_delim) {
- pop_bracket(&subj);
+ remove_delimiter(&subj, subj.last_delim);
}
while (subj.last_bracket) {
pop_bracket(&subj);