[ScriptInterpreterPython] Try to make the sanitizer bot green again.
Removing a use-after-free error. llvm-svn: 357006
This commit is contained in:
parent
0dd67ed462
commit
5c4fad0c23
|
@ -322,7 +322,7 @@ private:
|
|||
// priorities in the path, overriding PYTHONHOME and causing
|
||||
// problems/incompatibilities. In order to avoid confusion, always hardcode
|
||||
// the PythonHome to be right, as it's not going to change.
|
||||
char path[] = "/System/Library/Frameworks/Python.framework/Versions/2.7";
|
||||
static char path[] = "/System/Library/Frameworks/Python.framework/Versions/2.7";
|
||||
Py_SetPythonHome(path);
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue