mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
This patch is to fix some possible memory leak issues, which are reported by static analysis tool. 1. free uptime in error case handling of function parse_uptime. 2. unmap f in error case handling of function _file_read_key_value. Tracked-On: #2917 Reviewed-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Zhi Jin <zhi.jin@intel.com> Signed-off-by: CHEN Gang <gang.c.chen@intel.com> Acked-by: Zhang Di <di.zhang@intel.com>
15 KiB
15 KiB