pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/993030aac576710a46b3dd0b4864f819d4a94145

bpo-34080: Fix a memory leak in the compiler. (GH-8222) · python/cpython@993030a · GitHub
Skip to content

Commit 993030a

Browse files
serhiy-storchakavstinner
authored andcommitted
bpo-34080: Fix a memory leak in the compiler. (GH-8222)
1 parent b12112b commit 993030a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed a memory leak in the compiler when it raised some uncommon errors
2+
during tokenizing.

Python/pythonrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ err_input(perrdetail *err)
13391339
errtype = PyExc_SyntaxError;
13401340
switch (err->error) {
13411341
case E_ERROR:
1342-
return;
1342+
goto cleanup;
13431343
case E_SYNTAX:
13441344
errtype = PyExc_IndentationError;
13451345
if (err->expected == INDENT)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy