Browse Source

Add missing TagData_dealloc (#303)

tags/v0.6.5
deClerambaul 1 year ago
committed by GitHub
parent
commit
0f89f4426b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/mwparserfromhell/parser/ctokenizer/tok_parse.c

+ 1
- 0
src/mwparserfromhell/parser/ctokenizer/tok_parse.c View File

@@ -1770,6 +1770,7 @@ Tokenizer_really_parse_tag(Tokenizer *self)
return NULL; return NULL;
} }
if (Tokenizer_check_route(self, LC_TAG_OPEN) < 0) { if (Tokenizer_check_route(self, LC_TAG_OPEN) < 0) {
TagData_dealloc(data);
return NULL; return NULL;
} }
if (Tokenizer_push(self, LC_TAG_OPEN)) { if (Tokenizer_push(self, LC_TAG_OPEN)) {


Loading…
Cancel
Save