summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-08 11:10:28 (GMT)
committerGitHub <noreply@github.com>2024-06-08 11:10:28 (GMT)
commit9b704ceecae28d73a0315c3fd5547cf09b2d85a4 (patch)
treeac018e02b647bb4aa0a307b431cb4ed34d2465e4 /Misc/NEWS.d/next/Library
parent863a0bd5154a7dcade03e849ec2ed45fe9f8837f (diff)
downloadcpython-9b704ceecae28d73a0315c3fd5547cf09b2d85a4.zip
cpython-9b704ceecae28d73a0315c3fd5547cf09b2d85a4.tar.gz
cpython-9b704ceecae28d73a0315c3fd5547cf09b2d85a4.tar.bz2
[3.13] gh-120244: Fix re.sub() reference leak (GH-120245) (GH-120264)
(cherry picked from commit 38a25e9560cf0ff0b80d9e90bce793ff24c6e027) Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2024-06-08-09-45-31.gh-issue-120244.8o9Dzr.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-08-09-45-31.gh-issue-120244.8o9Dzr.rst b/Misc/NEWS.d/next/Library/2024-06-08-09-45-31.gh-issue-120244.8o9Dzr.rst
new file mode 100644
index 0000000..d21532f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-06-08-09-45-31.gh-issue-120244.8o9Dzr.rst
@@ -0,0 +1 @@
+Fix memory leak in :func:`re.sub()` when the replacement string contains backreferences.