summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-11-01 02:18:32 (GMT)
committerGitHub <noreply@github.com>2022-11-01 02:18:32 (GMT)
commitab575050709e2b313ca9a9585f09b6f4b0560318 (patch)
treeea50310d73da93ffad36bfeab28f760ed1926849 /Misc
parent88297e2a8a75898228360ee369628a4a6111e2ee (diff)
downloadcpython-ab575050709e2b313ca9a9585f09b6f4b0560318.zip
cpython-ab575050709e2b313ca9a9585f09b6f4b0560318.tar.gz
cpython-ab575050709e2b313ca9a9585f09b6f4b0560318.tar.bz2
GH-98897: fix memory leak if `math.dist` raises exception (GH-98898)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-10-31-12-34-03.gh-issue-98897.rgNn4x.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-31-12-34-03.gh-issue-98897.rgNn4x.rst b/Misc/NEWS.d/next/Library/2022-10-31-12-34-03.gh-issue-98897.rgNn4x.rst
new file mode 100644
index 0000000..f61af25
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-10-31-12-34-03.gh-issue-98897.rgNn4x.rst
@@ -0,0 +1 @@
+Fix memory leak in :func:`math.dist` when both points don't have the same dimension. Patch by Kumar Aditya.