mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
Fix refleaks in test_unicode and test_string related to the new format code.
Stop polluting namespace.
This commit is contained in:
@@ -416,6 +416,7 @@ get_field_object(SubString *input, PyObject *args, PyObject *kwargs)
|
||||
Py_DECREF(key);
|
||||
goto error;
|
||||
}
|
||||
Py_DECREF(key);
|
||||
Py_INCREF(obj);
|
||||
} else {
|
||||
/* look up in args */
|
||||
|
||||
Reference in New Issue
Block a user