mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fixed possible NULL decrefing.
This commit is contained in:
parent
7865dfff2e
commit
3ec5f421c5
1 changed files with 1 additions and 1 deletions
|
@ -1779,7 +1779,7 @@ var_perform(VarEvent *ev)
|
|||
PyErr_NormalizeException(&exc, &val, &tb);
|
||||
*(ev->exc_type) = exc;
|
||||
*(ev->exc_val) = val;
|
||||
Py_DECREF(tb);
|
||||
Py_XDECREF(tb);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue