bpo-34080: Fix a memory leak in the compiler. (GH-8222)

diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index bcd1ca9..10605db 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1339,7 +1339,7 @@
     errtype = PyExc_SyntaxError;
     switch (err->error) {
     case E_ERROR:
-        return;
+        goto cleanup;
     case E_SYNTAX:
         errtype = PyExc_IndentationError;
         if (err->expected == INDENT)