platform_hardware_libhardware/modules/thermal
liuchao df7d84a049 Add else branch to avoide fclose(NULL)
This fixes a potential NULL-pointer reference crash in case
cpu_file == NULL and pass NULL to fclose().

Test: mm -j 8
Change-Id: Ib3267676bea910533bd85ac2935efe02d361fc6b
2016-11-16 09:26:53 +08:00
..
Android.mk Re-worked hardware_properties to thermal HAL. 2016-03-17 10:09:24 +01:00
thermal.c Add else branch to avoide fclose(NULL) 2016-11-16 09:26:53 +08:00