Merge "Add a NOLINT for the memory leak we added" am: 10f62351eb
am: 4e3ae2cbfa
am: ad4025b35b
Change-Id: I1d4831bc70b8874e66583f4a130b3a711c24b019
This commit is contained in:
commit
a712e2164a
|
@ -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