diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-09 16:20:39 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-09 16:20:39 (GMT) |
commit | a251ea0680a45394801f9818611ef89d86e4ac5d (patch) | |
tree | edb8a79596fe1497b65f641f71711b1b7996c0d7 /Objects/object.c | |
parent | 815d5b934b8e8c0b7832353593050a6db660f517 (diff) | |
download | cpython-a251ea0680a45394801f9818611ef89d86e4ac5d.zip cpython-a251ea0680a45394801f9818611ef89d86e4ac5d.tar.gz cpython-a251ea0680a45394801f9818611ef89d86e4ac5d.tar.bz2 |
the PyDict_SetItem does not borrow a reference, so we need to decref
reported by Mark Hammon
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |