platform_hardware_interfaces/power/1.0
Jintao Zhu 9f9047c7d7 Fix incorrect Power destruction
(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
2021-03-15 23:32:45 +00:00
..
default Fix incorrect Power destruction 2021-03-15 23:32:45 +00:00
vts/functional [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
IPower.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
types.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00