mirror of
https://github.com/python/cpython
synced 2024-09-06 05:53:36 +00:00
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 a new issue