summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_elementtree.c1
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(