[ScriptInterpreterPython] Try to make the sanitizer bot green again.

Removing a use-after-free error.

llvm-svn: 357006
This commit is contained in:
Davide Italiano 2019-03-26 16:43:58 +00:00
parent 0dd67ed462
commit 5c4fad0c23
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ private:
// priorities in the path, overriding PYTHONHOME and causing // priorities in the path, overriding PYTHONHOME and causing
// problems/incompatibilities. In order to avoid confusion, always hardcode // problems/incompatibilities. In order to avoid confusion, always hardcode
// the PythonHome to be right, as it's not going to change. // 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); Py_SetPythonHome(path);
#endif #endif
#endif #endif