commit | a251ea0680a45394801f9818611ef89d86e4ac5d | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Jun 09 16:20:39 2000 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Jun 09 16:20:39 2000 +0000 |
tree | edb8a79596fe1497b65f641f71711b1b7996c0d7 | |
parent | 815d5b934b8e8c0b7832353593050a6db660f517 [diff] |
the PyDict_SetItem does not borrow a reference, so we need to decref reported by Mark Hammon
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 @@ Py_DECREF(inprogress); return NULL; } + Py_DECREF(inprogress); } return inprogress; }