Fixed possible NULL decrefing.
This commit is contained in:
commit
8a8ebc900a
|
@ -1777,7 +1777,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…
Reference in New Issue