diff options
Diffstat (limited to 'src/inlines.c')
-rw-r--r-- | src/inlines.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/inlines.c b/src/inlines.c index bf55a0f..364f117 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -791,12 +791,7 @@ match: while (opener != NULL) { tempstack = opener->previous; if (opener->delim_char == '[') { - free(opener); - if (closer_above) { - closer_above->previous = tempstack; - } else { - subj->delimiters = tempstack; - } + remove_delimiter(subj, opener); } else { closer_above = opener; } |