Commit d39e74fd authored by Shailendra Verma's avatar Shailendra Verma Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarShailendra Verma <shailendra.v@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 30f895a9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment