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)
commit6ca605f7c70895a35737435f17ae9cc5e36f1466
tree6e3d9b01b26588d1724ebb82adae9d2147655ebc
parent7c4c62a04a2a80e3feb5d6c97aca1e413b11c790
drm/exynos: Fix freeing issues in exynos_drm_drv.c

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