diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-17 08:33:21 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-17 08:33:21 (GMT) |
commit | b80775ecf1ef62d6e101a1048dc2c2e2e3cb5e6d (patch) | |
tree | 43e069c9e38706edb623a2ecc8bceb024b04e3a2 /Modules | |
parent | 835b243c71f5529da95aca5ca78fb9939278cffe (diff) | |
download | cpython-b80775ecf1ef62d6e101a1048dc2c2e2e3cb5e6d.zip cpython-b80775ecf1ef62d6e101a1048dc2c2e2e3cb5e6d.tar.gz cpython-b80775ecf1ef62d6e101a1048dc2c2e2e3cb5e6d.tar.bz2 |
Fixed reference counting error when using the entity dictionary
(reported by Chris Olds). Backported from the 1.0.6 development
branch.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_elementtree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index 4ba70c7..af813bd 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -1956,7 +1956,6 @@ expat_default_handler(XMLParserObject* self, const XML_Char* data_in, res = PyObject_CallFunction(self->handle_data, "O", value); else res = NULL; - Py_DECREF(value); Py_XDECREF(res); } else { PyErr_Format( |