Merge "Add a NOLINT for the memory leak we added"
am: 10f62351eb
Change-Id: I67067e5611b14a6a7a818adb503a07f8a9e2dcef
This commit is contained in:
commit
4e3ae2cbfa
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ void adb_server_cleanup() {
|
||||||
|
|
||||||
static void intentionally_leak() {
|
static void intentionally_leak() {
|
||||||
void* p = ::operator new(1);
|
void* p = ::operator new(1);
|
||||||
|
// The analyzer is upset about this leaking. NOLINTNEXTLINE
|
||||||
LOG(INFO) << "leaking pointer " << p;
|
LOG(INFO) << "leaking pointer " << p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue