mirror of https://github.com/python/cpython
Merge 3.2.
This commit is contained in:
commit
66d1eb23d4
|
@ -639,6 +639,8 @@ builtin_compile(PyObject *self, PyObject *args, PyObject *kwds)
|
||||||
mod_ty mod;
|
mod_ty mod;
|
||||||
|
|
||||||
arena = PyArena_New();
|
arena = PyArena_New();
|
||||||
|
if (arena == NULL)
|
||||||
|
goto error;
|
||||||
mod = PyAST_obj2mod(cmd, arena, mode);
|
mod = PyAST_obj2mod(cmd, arena, mode);
|
||||||
if (mod == NULL) {
|
if (mod == NULL) {
|
||||||
PyArena_Free(arena);
|
PyArena_Free(arena);
|
||||||
|
|
Loading…
Reference in New Issue