diff options
| author | Shailendra Verma <shailendra.v@samsung.com> | 2016-11-24 23:57:34 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-04 09:34:44 +0200 |
| commit | caf13a88a511ecaa474f380b2ef9f9aafb0c4f54 (patch) | |
| tree | e0e80ca9107399d57248dbb27e83ecf026af2028 /include/linux/timerqueue.h | |
| parent | 228b0ef1dfeb337622f3a6e73aa3ae1bebc08312 (diff) | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
