commit | a093bf02e32163ba1dba780f9d10806528d38ba7 | [log] [tgz] |
---|---|---|
author | Erin Yan <xinyey@codeaurora.org> | Tue May 29 11:12:55 2018 +0800 |
committer | Erin Yan <xinyey@codeaurora.org> | Tue Jun 05 12:15:13 2018 +0800 |
tree | ee84632b5df64f3d293e245652560482616fd22f | |
parent | 338fd3bfcec34f190ce1540509ed79e744cb572c [diff] |
hal: Check NULL pointer FILE pointer could be NULL if open failed, need check it before close it. And it is good to set closed resource to NULL. CRs-fixed: 2249886 Change-Id: Ieb9ecb032f061f0895fcf83df5baf042b346b985