commit | 8fcaa92c5f4290c0ea31f2680c87635bc751303f | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sat Jul 01 04:45:52 2000 +0000 |
committer | Barry Warsaw <barry@python.org> | Sat Jul 01 04:45:52 2000 +0000 |
tree | 4ab6eaf3d42ced4a272137b651b8d662813e48ff | |
parent | c08cb04c291309477c57fd89b4ab3cf89d88e471 [diff] |
init_exceptions(): Decref `doc' so it doesn't leak.
diff --git a/Python/exceptions.c b/Python/exceptions.c index 4596c27..2726519 100644 --- a/Python/exceptions.c +++ b/Python/exceptions.c
@@ -909,6 +909,7 @@ PyObject* args; PyDict_SetItemString(mydict, "__doc__", doc); + Py_DECREF(doc); if (PyErr_Occurred()) Py_FatalError("exceptions bootstrapping error.");