diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-08-20 17:20:46 +0200 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-08-20 17:20:46 +0200 |
commit | 66d1eb23d42551f510f27f4610d74442579e98d8 (patch) | |
tree | 2c16a7a7ba86b49cafc4a62f9519651ab7a47d46 /Python | |
parent | 28a2ad556a612af7bbc9bd2d23f00983025db3b6 (diff) | |
parent | 07795df68345a481fbd72c8cce452666000cbadd (diff) | |
download | cpython-git-66d1eb23d42551f510f27f4610d74442579e98d8.tar.gz |
Merge 3.2.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 4a98b032cf..0e6e6ff9ff 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -639,6 +639,8 @@ builtin_compile(PyObject *self, PyObject *args, PyObject *kwds) mod_ty mod; arena = PyArena_New(); + if (arena == NULL) + goto error; mod = PyAST_obj2mod(cmd, arena, mode); if (mod == NULL) { PyArena_Free(arena); |