mirror of
https://github.com/python/cpython.git
synced 2025-11-15 08:01:29 +00:00
Fix a refleak in _sre
This commit is contained in:
parent
1830601cc1
commit
baced5668a
2 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Fix a reference count leak in _sre.
|
||||||
|
|
||||||
- Issue #19262: Initial check in of the 'asyncio' package (a.k.a. Tulip,
|
- Issue #19262: Initial check in of the 'asyncio' package (a.k.a. Tulip,
|
||||||
a.k.a. PEP 3156). There are no docs yet, and the PEP is slightly
|
a.k.a. PEP 3156). There are no docs yet, and the PEP is slightly
|
||||||
out of date with the code. This module will have *provisional* status
|
out of date with the code. This module will have *provisional* status
|
||||||
|
|
|
||||||
|
|
@ -2427,6 +2427,7 @@ next:
|
||||||
else
|
else
|
||||||
item = PyUnicode_Join(joiner, list);
|
item = PyUnicode_Join(joiner, list);
|
||||||
Py_DECREF(joiner);
|
Py_DECREF(joiner);
|
||||||
|
Py_DECREF(list);
|
||||||
if (!item)
|
if (!item)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue