summaryrefslogtreecommitdiff
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorShailendra Verma <shailendra.v@samsung.com>2016-11-25 07:57:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-31 08:28:22 +0300
commit22aaae25b6b4584d2006454386e3d9a8f2ec5f36 (patch)
tree9f9c6c68edabe4a5c81e7211f82e8a8ecaa9fe0c /drivers/staging/most
parent8cc26f962d484def32a5e5f48492baec1bbe8fa4 (diff)
downloadlinux-22aaae25b6b4584d2006454386e3d9a8f2ec5f36.tar.xz
media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
[ Upstream commit 6995a659101bd4effa41cebb067f9dc18d77520d ] Fix to avoid possible memory leak if the decoder initialization got failed.Free the allocated memory for file handle object before return in case decoder initialization fails. Signed-off-by: Shailendra Verma <shailendra.v@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/staging/most')
0 files changed, 0 insertions, 0 deletions