Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 657db00e authored by George Burgess IV's avatar George Burgess IV
Browse files

Add a NOLINT for the memory leak we added

Added by I7255d45335fa009dc9e5de99dff67af52bd70e06

Bug: None
Test: Ran the analyzer. Complaint is gone.
Change-Id: Id9b8debd8b9690210f5a8e19154ee3a5095b8fbd
parent 45ee43b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}