Silence a false positive memory leak warning.
This silences a false positive memory leak warning
system/libhwbinder/IPCThreadState.cpp:681:5:
warning: Potential memory leak [clang-analyzer-cplusplus.NewDeleteLeaks]
The memory was allocated at
IPCTHreadState.cpp:286.
Bug: None
Test: The warning is gone.
Change-Id: I4b1bd3a12811960abfca747832620f5b6032f5b0
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index 018316e..212bffa 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -681,7 +681,7 @@
#if LOG_REFCOUNTS
printf("IPCThreadState::expungeHandle(%ld)\n", handle);
#endif
- self()->mProcess->expungeHandle(handle, binder);
+ self()->mProcess->expungeHandle(handle, binder); // NOLINT
}
status_t IPCThreadState::requestDeathNotification(int32_t handle, BpHwBinder* proxy)