From a251ea0680a45394801f9818611ef89d86e4ac5d Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Fri, 9 Jun 2000 16:20:39 +0000 Subject: the PyDict_SetItem does not borrow a reference, so we need to decref reported by Mark Hammon --- Objects/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Objects/object.c b/Objects/object.c index 6195479..ab9d4ed 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -351,6 +351,7 @@ get_inprogress_dict() Py_DECREF(inprogress); return NULL; } + Py_DECREF(inprogress); } return inprogress; } -- cgit v0.12