]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-98897: fix memory leak if `math.dist` raises exception (GH-98898)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 1 Nov 2022 02:47:29 +0000 (19:47 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Nov 2022 02:47:29 +0000 (19:47 -0700)
commit078ce6891c2d663babaf81b1e89f1fef82c007bc
tree26d9ca2a728aa922e4292fdb3fe98cc56b631214
parentd3d1738acd4f62869d7f1e119c257e2ee46fd16f
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>
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2022-10-31-12-34-03.gh-issue-98897.rgNn4x.rst [new file with mode: 0644]
Modules/mathmodule.c