MLK-20239-1 imx8m: Fix resource leek
Fix coverity issu CID 4338241: Resource leak (RESOURCE_LEAK)
leaked_storage: Variable file_ptr going out of scope leaks the storage it points to.
Add munmap for the file_ptr
Signed-off-by:
Ye Li <ye.li@nxp.com>
Showing
Please register or sign in to comment