]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41207e58be8be523ad5171f6b00dc91573c7c2e7
tree26c3d22b650cd8f3e965f4fca1420b3bcd4d8329
parent45ae0638f0d80c5c1ff3fd30ed28a33be901b4a2
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