summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-03-01 22:00:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-01 22:00:02 +0000
commit10f62351eb35ed9a6df09a010ef588504d5f9290 (patch)
treee40f128d8e0ab692d99296476127009b775dbe8e
parent45ee43b1acadc9635a547e41dcaf734f66678890 (diff)
parent657db00e3d8da625c27218848b88184fcb8ed539 (diff)
downloadcore-10f62351eb35ed9a6df09a010ef588504d5f9290.tar.gz
Merge "Add a NOLINT for the memory leak we added"
-rw-r--r--adb/client/main.cpp1
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;
}