Fix silly leak in test used in test_exceptions.
This commit is contained in:
parent
da0a0673b1
commit
f02bcee095
|
@ -544,6 +544,7 @@ raise_exception(PyObject *self, PyObject *args)
|
|||
PyTuple_SET_ITEM(exc_args, i, v);
|
||||
}
|
||||
PyErr_SetObject(exc, exc_args);
|
||||
Py_DECREF(exc_args);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue