Commit 8fcaa92c authored by Barry Warsaw's avatar Barry Warsaw

init_exceptions(): Decref `doc' so it doesn't leak.

parent c08cb04c
......@@ -909,6 +909,7 @@ init_exceptions()
PyObject* args;
PyDict_SetItemString(mydict, "__doc__", doc);
Py_DECREF(doc);
if (PyErr_Occurred())
Py_FatalError("exceptions bootstrapping error.");
......
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