commit | 657db00e3d8da625c27218848b88184fcb8ed539 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Thu Mar 01 10:54:21 2018 -0800 |
committer | George Burgess IV <gbiv@google.com> | Thu Mar 01 18:59:50 2018 +0000 |
tree | e40f128d8e0ab692d99296476127009b775dbe8e | |
parent | 45ee43b1acadc9635a547e41dcaf734f66678890 [diff] [blame] |
Add a NOLINT for the memory leak we added Added by I7255d45335fa009dc9e5de99dff67af52bd70e06 Bug: None Test: Ran the analyzer. Complaint is gone. Change-Id: Id9b8debd8b9690210f5a8e19154ee3a5095b8fbd
diff --git a/adb/client/main.cpp b/adb/client/main.cpp index e5666bc..31cb853 100644 --- a/adb/client/main.cpp +++ b/adb/client/main.cpp
@@ -77,6 +77,7 @@ static void intentionally_leak() { void* p = ::operator new(1); + // The analyzer is upset about this leaking. NOLINTNEXTLINE LOG(INFO) << "leaking pointer " << p; }