Ver a proveniência

Make fallthrough explicit in tok_parse.c (#326)

* Make fallthrough explicit in tok_parse.c

In response to #325

* Update tok_parse.c
main
Richard Barnes há 1 mês
committed by GitHub
ascendente
cometimento
537e1e19e3
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: B5690EEEBB952194
1 ficheiros alterados com 4 adições e 0 eliminações
  1. +4
    -0
      src/mwparserfromhell/parser/ctokenizer/tok_parse.c

+ 4
- 0
src/mwparserfromhell/parser/ctokenizer/tok_parse.c Ver ficheiro

@@ -1557,6 +1557,10 @@ 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;
}
case -1:
Py_DECREF(closing);


Carregando…
Cancelar
Guardar