mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Fixed teensy memory leak, but doesn't help test_sax on Windows.
This commit is contained in:
parent
54bac8e8c5
commit
e815786858
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue