drm/exynos/ipp: free partially allocated resources on error
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 28 Aug 2014 09:07:30 +0000 (11:07 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:11 +0000 (00:56 +0900)
commit6602ffb84949779fd5d27399ca5f608a409a2a83
tree26c3d22b650cd8f3e965f4fca1420b3bcd4d8329
parent985c293d094ae640a25e0c0e78d161a3fcb95b5d
drm/exynos/ipp: free partially allocated resources on error

In case of allocation errors some already allocated buffers
were not freed. The patch fixes it.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c