fix the wrong cast 45/259945/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 17 Jun 2021 01:41:13 +0000 (10:41 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 17 Jun 2021 01:41:13 +0000 (10:41 +0900)
Change-Id: Ibb78c2bfbb3f0d46e7b98d20a31e77e0e3538317

src/libhal-backend-tbm-exynos/tbm_backend_exynos.c

index 26915fc..1da85a5 100644 (file)
@@ -1522,7 +1522,7 @@ tbm_exynos_bufmgr_import_key(hal_tbm_bufmgr *bufmgr, hal_tbm_key key, hal_tbm_er
 static void
 tbm_exynos_bo_free(hal_tbm_bo *bo)
 {
-       tbm_exynos_bo *bo_data = (tbm_exynos_bo *)bo_data;
+       tbm_exynos_bo *bo_data = (tbm_exynos_bo *)bo;
        tbm_exynos_bo *temp;
        tbm_exynos_bufmgr *bufmgr_data;
        char buf[STRERR_BUFSIZE];