diff options
author | Walter Dörwald <walter@livinglogic.de> | 2005-11-28 22:15:56 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2005-11-28 22:15:56 (GMT) |
commit | d4fff1731c8854b80423a4ddca2aded35959c4d5 (patch) | |
tree | 976028deec4025aa438f686ec6789754c1e4dcd9 /Objects | |
parent | b45b315855f5523d2aa5c3ad685c2c9530d42229 (diff) | |
download | cpython-d4fff1731c8854b80423a4ddca2aded35959c4d5.zip cpython-d4fff1731c8854b80423a4ddca2aded35959c4d5.tar.gz cpython-d4fff1731c8854b80423a4ddca2aded35959c4d5.tar.bz2 |
Fix leaked reference to None.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 7100336..013fe4a 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2928,6 +2928,7 @@ PyObject *PyUnicode_DecodeCharmap(const char *s, Py_DECREF(x); goto onError; } + Py_DECREF(x); continue; } else if (PyUnicode_Check(x)) { |