Fixed possible NULL decrefing.

This commit is contained in:
Serhiy Storchaka 2016-10-28 12:17:17 +03:00
commit 3809c25bc3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}