Fixed reference counting error when using the entity dictionary

(reported by Chris Olds).  Backported from the 1.0.6 development
branch.
This commit is contained in:
Fredrik Lundh 2005-12-17 08:33:21 +00:00
parent 835b243c71
commit b80775ecf1
1 changed files with 0 additions and 1 deletions

View File

@ -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(