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:
parent
835b243c71
commit
b80775ecf1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue