Skip to content
Snippets Groups Projects
Commit b9283c9e authored by yuan.tian's avatar yuan.tian Committed by Gianfranco Mariotti
Browse files

MGS-6628 [#imx-2760] 0038-BUG32447-CL468159-KERNEL-SPACE-234062-fix-memory-lea


234062:fix memory leak
 for bugzilla 32447[liu.shuai]

Signed-off-by: default avatarKe Feng <ke.feng@verisilicon.com>

Signed-off-by: default avataryuan.tian <yuan.tian@nxp.com>
parent d7e3bd9b
No related branches found
No related tags found
1 merge request!156Draft: [i.MX] mxc: gpu-viv: apply patches
......@@ -981,6 +981,11 @@ gckKERNEL_Destroy(
gcmkVERIFY_OK(gckOS_AtomDestroy(Kernel->os, Kernel->atomClients));
}
if (Kernel->resetStatus)
{
gcmkVERIFY_OK(gckOS_AtomDestroy(Kernel->os, Kernel->resetStatus));
}
gcmkVERIFY_OK(gckOS_DeleteMutex(Kernel->os, Kernel->vidMemBlockMutex));
/* Destroy the database. */
......
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