Skip to content

Commit

Permalink
minor (reordered Py_XDECREF calls to match field order)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Aug 23, 2023
1 parent 30d30ca commit 9fb683a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ python_error::~python_error() {
/* With GIL held */ {
// Clear error status in case the following executes Python code
error_scope scope;
Py_XDECREF(m_value);
Py_XDECREF(m_type);
Py_XDECREF(m_value);
Py_XDECREF(m_traceback);
}
}
Expand Down

0 comments on commit 9fb683a

Please sign in to comment.