瀏覽代碼

Update tok_parse.c

pull/326/head
Richard Barnes 4 月之前
committed by GitHub
父節點
當前提交
8c23031f10
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. +4
    -3
      src/mwparserfromhell/parser/ctokenizer/tok_parse.c

+ 4
- 3
src/mwparserfromhell/parser/ctokenizer/tok_parse.c 查看文件

@@ -1557,10 +1557,11 @@ Tokenizer_handle_tag_close_close(Tokenizer *self)
}
Py_XDECREF(so);
Py_XDECREF(sc);
// One of `so` or `sc` failed to allocate so we clean up the
// closing tag and propagate the error by returning NULL.
Py_DECREF(closing);
return NULL;
}
// One of `so` or `sc` failed to allocate so we fall through to clean up the
// closing tag and propagate the error by returning NULL.
__attribute__((fallthrough));
case -1:
Py_DECREF(closing);
return NULL;


Loading…
取消
儲存