diff options
author | Shailendra Verma <shailendra.v@samsung.com> | 2016-11-24 23:57:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-29 16:39:47 -0400 |
commit | 6995a659101bd4effa41cebb067f9dc18d77520d (patch) | |
tree | f56d6beb591765cccd11d3bb3f1bfed403d677de /drivers/media/platform/omap3isp/isp.c | |
parent | 835706214875de6e6f8b9d01ceeed17b20622677 (diff) | |
download | kernel_replicant_linux-6995a659101bd4effa41cebb067f9dc18d77520d.tar.gz kernel_replicant_linux-6995a659101bd4effa41cebb067f9dc18d77520d.tar.bz2 kernel_replicant_linux-6995a659101bd4effa41cebb067f9dc18d77520d.zip |
media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
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>
Diffstat (limited to 'drivers/media/platform/omap3isp/isp.c')
0 files changed, 0 insertions, 0 deletions