We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b76682 commit cfeaa99Copy full SHA for cfeaa99
1 file changed
Python/pythonrun.c
@@ -1486,6 +1486,7 @@ Py_CompileStringObject(const char *str, PyObject *filename, int start,
1486
if (flags && (flags->cf_flags & PyCF_ONLY_AST)) {
1487
if ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_OPTIMIZED_AST) {
1488
if (_PyCompile_AstOptimize(mod, filename, flags, optimize, arena) < 0) {
1489
+ _PyArena_Free(arena);
1490
return NULL;
1491
}
1492
0 commit comments