9f9047c7d7
(1) As the following call chain indicating, mModule is indeed not pointing to heap memory object, trying to delete it is illegal. HIDL_FETCH_IPower -> hw_get_module -> hw_get_module_by_class -> load(hardware/libhardware/hardware.c) (2) Fix by removing 'delete' Test: monkey test Signed-off-by: Jintao Zhu <zhujtcsieee@gmail.com> Signed-off-by: Steven Moreland <smoreland@google.com> Change-Id: If95bd8823354cd862d105b96101f910dc1ca95a6 |
||
---|---|---|
.. | ||
Android.bp | ||
android.hardware.power@1.0-service.rc | ||
Power.cpp | ||
Power.h | ||
service.cpp |