diff options
| author | George Burgess IV <gbiv@google.com> | 2017-09-24 13:36:29 -0700 |
|---|---|---|
| committer | George Burgess IV <gbiv@google.com> | 2017-09-24 13:36:29 -0700 |
| commit | bd114897665fba826640cfd7462bde4471d703a5 (patch) | |
| tree | e090abd375b3570d59ea39f96d38626831e697d2 /libcutils/socket_local_server_unix.cpp | |
| parent | e90f17558b5384ecea7c8bb2de0d039ea3ec176c (diff) | |
Silence static analyzer warnings about memory leaks
The static analyzer complains that this memory is leaked regardless of
how I try to work around it (unless we escape the memory by using a
global or something, but...). Basically, as long as there's some sort
of operation on the reinterpret_cast'ed pointer, it complains. If we
remove the bitwise negations, it doesn't. Doing so would presumably
defeat the purpose of this test, though, so add a NOLINT.
Bug: 27101951
Test: mma. No more static analyzer warning for this file.
Change-Id: If9008946a2145d17b8651535141bfd7ec9224739
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
