diff options
author | Steven Moreland <smoreland@google.com> | 2019-09-26 12:19:12 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-09-26 12:19:12 -0700 |
commit | c57d6fe388cdc436ab4e547ee94a84efa5795206 (patch) | |
tree | 0df5aca95aac10c089b132928e1a7fdb1b8fcdcd | |
parent | 1b4ce666e61f3ea2190d9d15aa26ba1e2e0ef24d (diff) | |
parent | 1d761f7ec9eb4498470b588d3cb47eeaee456b96 (diff) | |
download | wayland-c57d6fe388cdc436ab4e547ee94a84efa5795206.tar.gz |
Disable leak detection locally. am: d343e44c7a am: d0a04ab380
am: 1d761f7ec9
Change-Id: I721837aa85a79017e666d0ed1267f53a2d80e946
-rw-r--r-- | src/scanner.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/scanner.c b/src/scanner.c index a239c71..5806676 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -1755,6 +1755,14 @@ free_protocol(struct protocol *protocol) free_description(protocol->description); } +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wmissing-prototypes" +// TODO(b/141619956): stop leaks +const char *__asan_default_options() { + return "detect_leaks=0"; +} +#pragma clang diagnostic pop + int main(int argc, char *argv[]) { struct parse_context ctx; |