summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-01 02:47:29 (GMT)
committerGitHub <noreply@github.com>2022-11-01 02:47:29 (GMT)
commit078ce6891c2d663babaf81b1e89f1fef82c007bc (patch)
tree26d9ca2a728aa922e4292fdb3fe98cc56b631214 /Misc
parentd3d1738acd4f62869d7f1e119c257e2ee46fd16f (diff)
downloadcpython-078ce6891c2d663babaf81b1e89f1fef82c007bc.zip
cpython-078ce6891c2d663babaf81b1e89f1fef82c007bc.tar.gz
cpython-078ce6891c2d663babaf81b1e89f1fef82c007bc.tar.bz2
GH-98897: fix memory leak if `math.dist` raises exception (GH-98898)
(cherry picked from commit ab575050709e2b313ca9a9585f09b6f4b0560318) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
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.