diff options
author | George Burgess IV <gbiv@google.com> | 2018-03-01 10:54:21 -0800 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2018-03-01 18:59:50 +0000 |
commit | 657db00e3d8da625c27218848b88184fcb8ed539 (patch) | |
tree | e40f128d8e0ab692d99296476127009b775dbe8e /adb | |
parent | 45ee43b1acadc9635a547e41dcaf734f66678890 (diff) | |
download | core-657db00e3d8da625c27218848b88184fcb8ed539.tar.gz core-657db00e3d8da625c27218848b88184fcb8ed539.tar.bz2 core-657db00e3d8da625c27218848b88184fcb8ed539.zip |
Add a NOLINT for the memory leak we added
Added by I7255d45335fa009dc9e5de99dff67af52bd70e06
Bug: None
Test: Ran the analyzer. Complaint is gone.
Change-Id: Id9b8debd8b9690210f5a8e19154ee3a5095b8fbd
Diffstat (limited to 'adb')
-rw-r--r-- | adb/client/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/adb/client/main.cpp b/adb/client/main.cpp index e5666bc8d..31cb8536a 100644 --- a/adb/client/main.cpp +++ b/adb/client/main.cpp @@ -77,6 +77,7 @@ void adb_server_cleanup() { static void intentionally_leak() { void* p = ::operator new(1); + // The analyzer is upset about this leaking. NOLINTNEXTLINE LOG(INFO) << "leaking pointer " << p; } |