[COMMON] media: mfc: fix the memory leak
authorAyoung Sim <a.sim@samsung.com>
Tue, 29 May 2018 07:53:37 +0000 (16:53 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:12:18 +0000 (15:12 +0900)
commitbd0eee4eda12ab22366dfcc555c52062f8b273da
treeecd44935cf347f0f5f7b657150a1faff2d47e212
parent7c6a2de00104c4a2f75aa11d548f9cf9748577ba
[COMMON] media: mfc: fix the memory leak

If driver failed to get dmabuf of specific plane not plane0,
the dmabuf of previous plane doesn't be released.

Change-Id: I7c41ac3717fbd274a2213a56be2f2f98401fb993
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_enc_vb2_ops.c
drivers/media/platform/exynos/mfc/s5p_mfc_mem.h