diff options
author | Shailendra Verma <shailendra.v@samsung.com> | 2016-11-25 02:52:04 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-02-03 07:14:28 -0200 |
commit | d39e74fdcdcca2e40f5397c3436bc9b8106a66a0 (patch) | |
tree | c4e7fcf937ba33a7c5f785e6f79d83e32cf1fc79 /drivers/media/platform/ti-vpe/vpdma.c | |
parent | 30f895a9e1df6a44cef6e4e0fad70762026b8512 (diff) |
[media] Staging: media: platform: davinci: - Fix for memory leak
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@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/ti-vpe/vpdma.c')
0 files changed, 0 insertions, 0 deletions