Fix silly leak in test used in test_exceptions.

This commit is contained in:
Michael W. Hudson 2003-08-15 13:03:30 +00:00
parent da0a0673b1
commit f02bcee095
1 changed files with 1 additions and 0 deletions

View File

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