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

Commit 9cec85be authored by Manoj Gupta's avatar Manoj Gupta
Browse files

Silence a false positive memory leak warning.

This silences a false positive memory leak warning:

frameworks/native/libs/binder/IPCThreadState.cpp:689:5: warning: Potential
memory leak [clang-analyzer-cplusplus.NewDeleteLeaks]

Bug: b/27101951
Test: The warning is gone.
Change-Id: I2d7bbb943521df86debb3a0e1b4b7457fa847098
parent f71878b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -686,7 +686,7 @@ void IPCThreadState::expungeHandle(int32_t handle, IBinder* binder)
#if LOG_REFCOUNTS
#if LOG_REFCOUNTS
    ALOGV("IPCThreadState::expungeHandle(%ld)\n", handle);
    ALOGV("IPCThreadState::expungeHandle(%ld)\n", handle);
#endif
#endif
    self()->mProcess->expungeHandle(handle, binder);
    self()->mProcess->expungeHandle(handle, binder); // NOLINT
}
}


status_t IPCThreadState::requestDeathNotification(int32_t handle, BpBinder* proxy)
status_t IPCThreadState::requestDeathNotification(int32_t handle, BpBinder* proxy)