diff options
| author | Steven Moreland <smoreland@google.com> | 2019-09-26 18:48:54 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-09-26 18:48:54 +0000 |
| commit | b968753ab50b207f8ba26f7678ef57f303cf0ea2 (patch) | |
| tree | f79f5aceda736187485f696a95209ad5eb108580 | |
| parent | f67325ce45c763c0c13cdd50d5dbc62803f850ed (diff) | |
| parent | 71ec940f78ca83f5a35fdcbbcde26c0947cc10c4 (diff) | |
| download | platform_external_python_cpython2-ndk-sysroot-r21.tar.gz platform_external_python_cpython2-ndk-sysroot-r21.tar.bz2 platform_external_python_cpython2-ndk-sysroot-r21.zip | |
Merge "Disable leak detection locally."ndk-sysroot-r21
| -rw-r--r-- | Modules/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c index a6edf822d0..ac6c027420 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -149,6 +149,11 @@ usage(int exitcode, char* program) /*NOTREACHED*/ } +// TODO(b/141583221): stop leaks +const char *__asan_default_options() { + return "detect_leaks=0"; +} + static void RunStartupFile(PyCompilerFlags *cf) { char *startup = Py_GETENV("PYTHONSTARTUP"); |
