Kaydet (Commit) e8157868 authored tarafından Tim Peters's avatar Tim Peters

Fixed teensy memory leak, but doesn't help test_sax on Windows.

üst 54bac8e8
......@@ -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;
......
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