[media] s5p-mfc: fix memory leak in s5p_mfc_remove()
authorShuah Khan <shuahkh@osg.samsung.com>
Tue, 28 Jun 2016 19:17:17 +0000 (16:17 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 17:26:16 +0000 (14:26 -0300)
commit6610ef08272b25c5fcf682800fb89d0cca13e883
treeb4173c0355256fbf587dec25baaccd195ba6f6f1
parent7d48ea9f54368fa3c740740fb21da8e162a6f631
[media] s5p-mfc: fix memory leak in s5p_mfc_remove()

s5p_mfc_remove() fails to release encoder and decoder video devices.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c