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

This commit is contained in:
Tim Peters 2001-01-22 03:20:55 +00:00
parent 54bac8e8c5
commit e815786858
1 changed files with 1 additions and 0 deletions

View File

@ -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;