commit | b80775ecf1ef62d6e101a1048dc2c2e2e3cb5e6d | [log] [tgz] |
---|---|---|
author | Fredrik Lundh <fredrik@pythonware.com> | Sat Dec 17 08:33:21 2005 +0000 |
committer | Fredrik Lundh <fredrik@pythonware.com> | Sat Dec 17 08:33:21 2005 +0000 |
tree | 43e069c9e38706edb623a2ecc8bceb024b04e3a2 | |
parent | 835b243c71f5529da95aca5ca78fb9939278cffe [diff] |
Fixed reference counting error when using the entity dictionary (reported by Chris Olds). Backported from the 1.0.6 development branch.
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 @@ res = PyObject_CallFunction(self->handle_data, "O", value); else res = NULL; - Py_DECREF(value); Py_XDECREF(res); } else { PyErr_Format(