[COMMON] media: smfc: fix resource leak in exynos_smfc_release()
authorCho KyongHo <pullip.cho@samsung.com>
Sat, 19 Sep 2015 11:14:35 +0000 (20:14 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:19 +0000 (20:22 +0300)
commitdc63d5fa1916b2c96096ad2d62c8e65fed08e131
treee74f033f6f5ff8b643aa9cad369d149f2414a73c
parentf47f9a3920bd32d3c56755ab7d2d236b3c2c3428
[COMMON] media: smfc: fix resource leak in exynos_smfc_release()

SMFC driver overrides V4L2 control handlers when a new context is
created but it forgot to release the overridden handlers when the
context is released.

Change-Id: Id241dd029618d3eca7c37da28f8075e5e6a49360
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc-v4l2-ioctls.c
drivers/media/platform/exynos/smfc/smfc.c