Commit f5a4e8c9 authored by Tim Peters's avatar Tim Peters

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

parent 2306a500
......@@ -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