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
Loading
Please register or sign in to comment