[android-sdk/device-ti-proprietary-open.git] / jacinto6 / sgx_src / eurasia_km / services4 / srvkm / env / linux / osperproc.c
diff --git a/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/osperproc.c b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/osperproc.c
index 3485d8ae61c630a608f8fb70fc6388a0a41a8a3a..9b014dccd09a0d94471d13d1d8c1d63050f8eb6a 100644 (file)
psEnvPerProc = (PVRSRV_ENV_PER_PROCESS_DATA *)hOsPrivateData;
+#if defined(SUPPORT_ION)
+ if (psEnvPerProc->psIONClient)
+ {
+ ion_client_destroy(psEnvPerProc->psIONClient);
+ psEnvPerProc->psIONClient = IMG_NULL;
+ }
+#endif /* defined(SUPPORT_ION) */
+
/* Linux specific mmap processing */
LinuxMMapPerProcessDisconnect(psEnvPerProc);