Commit b6fdc676 authored by Michael W. Hudson's avatar Michael W. Hudson

Fix silly leak in test used in test_exceptions.

parent 0fae16bc
...@@ -544,6 +544,7 @@ raise_exception(PyObject *self, PyObject *args) ...@@ -544,6 +544,7 @@ raise_exception(PyObject *self, PyObject *args)
PyTuple_SET_ITEM(exc_args, i, v); PyTuple_SET_ITEM(exc_args, i, v);
} }
PyErr_SetObject(exc, exc_args); PyErr_SetObject(exc, exc_args);
Py_DECREF(exc_args);
return NULL; return NULL;
} }
......
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