mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge with 3.2
This commit is contained in:
commit
a4b070102a
2 changed files with 5 additions and 1 deletions
|
@ -568,8 +568,10 @@ subprocess_fork_exec(PyObject* self, PyObject *args)
|
|||
}
|
||||
|
||||
exec_array = _PySequence_BytesToCharpArray(executable_list);
|
||||
if (!exec_array)
|
||||
if (!exec_array) {
|
||||
Py_XDECREF(gc_module);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Convert args and env into appropriate arguments for exec() */
|
||||
/* These conversions are done in the parent process to avoid allocating
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue