MGS-4363 [#imx-1246] fix coverity resource leak issue
authorXianzhong <xianzhong.li@nxp.com>
Fri, 16 Nov 2018 18:19:02 +0000 (02:19 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit8beed549ac3dea59d2005adef6af905137274dc6
treea70cd6d0c3dcb0e875214974c7db5dd7191660cf
parent0d5bdfd9a0de494268871dfc83764651da7eacbc
MGS-4363 [#imx-1246] fix coverity resource leak issue

CID 3925877: Resource leak (RESOURCE_LEAK)
14. leaked_storage: Variable pages going out of scope leaks the storage it points to.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
(cherry picked from commit a38d1b1ff31ce87a231588de1a2e24a787f87143)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c