Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22aaae25 authored by Shailendra Verma's avatar Shailendra Verma Committed by Greg Kroah-Hartman
Browse files

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: default avatarShailendra Verma <shailendra.v@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8cc26f96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment