drm/exynos: Fix freeing issues in exynos_drm_drv.c
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 16 Jan 2014 06:01:26 +0000 (11:31 +0530)
committerInki Dae <inki.dae@samsung.com>
Fri, 7 Feb 2014 01:43:48 +0000 (10:43 +0900)
Fixes the following errors:
drivers/gpu/drm/exynos/exynos_drm_drv.c:182 exynos_drm_open()
error: double free of 'file_priv'
drivers/gpu/drm/exynos/exynos_drm_drv.c:188 exynos_drm_open()
error: dereferencing freed memory 'file_priv'

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c