diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-11-01 02:18:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 02:18:32 (GMT) |
commit | ab575050709e2b313ca9a9585f09b6f4b0560318 (patch) | |
tree | ea50310d73da93ffad36bfeab28f760ed1926849 /Misc | |
parent | 88297e2a8a75898228360ee369628a4a6111e2ee (diff) | |
download | cpython-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.rst | 1 |
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. |