Skip to content
Snippets Groups Projects
Commit aa4ba5ce authored by Jiyu Yang's avatar Jiyu Yang Committed by Gianfranco Mariotti
Browse files

LF-4656 [#ccc] fix dereference after null check


Coverity Issue:6124049

Signed-off-by: default avatarJiyu Yang <jiyu.yang@nxp.com>
parent 11cb265b
No related branches found
No related tags found
1 merge request!156Draft: [i.MX] mxc: gpu-viv: apply patches
......@@ -2393,7 +2393,7 @@ gckVIDMEM_LockVirtual(
}
#if gcdENABLE_VG
if (Kernel->core == gcvCORE_VG)
if ((gcvNULL != Kernel->vg) && (Kernel->core == gcvCORE_VG))
{
gcmkONERROR(gckVGMMU_Flush(Kernel->vg->mmu));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment