]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] Free arena on _PyCompile_AstOptimize failure in Py_CompileStringObject (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Dec 2024 21:26:39 +0000 (22:26 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Dec 2024 21:26:39 +0000 (23:26 +0200)
commit367ea893847439502e155708539917bf655beb40
treeada2936836cda337d91fd15fcb7c88ebfab7c2ed
parent71a1e79134d8716bdd5729179ca69cbc219feb94
[3.13] Free arena on _PyCompile_AstOptimize failure in Py_CompileStringObject (GH-128006)

Free arena on _PyCompile_AstOptimize failure in Py_CompileStringObject (GH-127910)

After commit 10a91d7e9 introduced arena cleanup, commit 2dfbd4f36
removed the free call when _PyCompile_AstOptimize fails.

(cherry picked from commit cfeaa992ba9bad9be2687afcafd85156703d74e8)

Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
Python/pythonrun.c