summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exynos/exynos_fimg2d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c
index 5ea42e69..24a06d0f 100644
--- a/exynos/exynos_fimg2d.c
+++ b/exynos/exynos_fimg2d.c
@@ -254,8 +254,7 @@ struct g2d_context *g2d_init(int fd)
void g2d_fini(struct g2d_context *ctx)
{
- if (ctx)
- free(ctx);
+ free(ctx);
}
/**