Merge "Add a NOLINT for the memory leak we added"
am: 10f62351eb
Change-Id: I67067e5611b14a6a7a818adb503a07f8a9e2dcef
This commit is contained in:
commit
4e3ae2cbfa
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue