diff --git a/Python/ast.c b/Python/ast.c index afdb199f04a..f1c2347ebc0 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -1845,7 +1845,7 @@ ast_for_atom(struct compiling *c, const node *n) } ast_error(c, n, buf); Py_DECREF(type); - Py_DECREF(value); + Py_XDECREF(value); Py_XDECREF(tback); } return NULL;