]> 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:40:30 +0000 (19:40 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Nov 2022 02:40:30 +0000 (19:40 -0700)
commit8495af8963234aa1c6fe34846e9552a79eaac7af
treecbd3a2e3aeba3719b430dcb255b4fde5ee88b2ef
parent46a3cf4fe3380b5d4560589cce8f602ba949832d
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