Skip to content

Commit

Permalink
Add missing TagData_dealloc (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
declerambaul authored Apr 6, 2023
1 parent cabdf77 commit 0f89f44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mwparserfromhell/parser/ctokenizer/tok_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1770,6 +1770,7 @@ Tokenizer_really_parse_tag(Tokenizer *self)
return NULL;
}
if (Tokenizer_check_route(self, LC_TAG_OPEN) < 0) {
TagData_dealloc(data);
return NULL;
}
if (Tokenizer_push(self, LC_TAG_OPEN)) {
Expand Down

0 comments on commit 0f89f44

Please sign in to comment.