Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66d1eb2

Browse files
author
Stefan Krah
committed
Merge 3.2.
2 parents 28a2ad5 + 07795df commit 66d1eb2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Python/bltinmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,8 @@ builtin_compile(PyObject *self, PyObject *args, PyObject *kwds)
639639
mod_ty mod;
640640

641641
arena = PyArena_New();
642+
if (arena == NULL)
643+
goto error;
642644
mod = PyAST_obj2mod(cmd, arena, mode);
643645
if (mod == NULL) {
644646
PyArena_Free(arena);

0 commit comments

Comments
 (0)