Kaydet (Commit) 8a8ebc90 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Fixed possible NULL decrefing.

...@@ -1777,7 +1777,7 @@ var_perform(VarEvent *ev) ...@@ -1777,7 +1777,7 @@ var_perform(VarEvent *ev)
PyErr_NormalizeException(&exc, &val, &tb); PyErr_NormalizeException(&exc, &val, &tb);
*(ev->exc_type) = exc; *(ev->exc_type) = exc;
*(ev->exc_val) = val; *(ev->exc_val) = val;
Py_DECREF(tb); Py_XDECREF(tb);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment