Kaydet (Commit) b80775ec authored tarafından Fredrik Lundh's avatar Fredrik Lundh

Fixed reference counting error when using the entity dictionary

(reported by Chris Olds).  Backported from the 1.0.6 development
branch.
üst 835b243c
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment