Fixed teensy memory leak, but doesn't help test_sax on Windows.
This commit is contained in:
parent
54bac8e8c5
commit
e815786858
|
@ -98,6 +98,7 @@ conv_atts_using_string(XML_Char **atts)
|
|||
}
|
||||
if (PyDict_SetItemString(attrs_obj,
|
||||
(char*)*attrs_k, rv) < 0) {
|
||||
Py_DECREF(rv);
|
||||
Py_DECREF(attrs_obj);
|
||||
attrs_obj = NULL;
|
||||
goto finally;
|
||||
|
|
Loading…
Reference in New Issue