diff options
| author | Dillon Min <dillon.minfei@gmail.com> | 2021-05-26 17:18:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-14 16:53:23 +0200 |
| commit | b585f9ef6a51487963ed7ec6fa19fc757d948bcc (patch) | |
| tree | 9b00b46045e1aa37de14e3f6f5cbdb3bcd065055 /drivers/hwmon | |
| parent | 3bf0509d25e03bcaeecb0a3dfe26e09eab91dde1 (diff) | |
| download | linux-b585f9ef6a51487963ed7ec6fa19fc757d948bcc.tar.gz linux-b585f9ef6a51487963ed7ec6fa19fc757d948bcc.tar.bz2 linux-b585f9ef6a51487963ed7ec6fa19fc757d948bcc.zip | |
media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
[ Upstream commit 5d11e6aad1811ea293ee2996cec9124f7fccb661 ]
The m2m_ctx resources was allocated by v4l2_m2m_ctx_init() in g2d_open()
should be freed from g2d_release() when it's not used.
Fix it
Fixes: 918847341af0 ("[media] v4l: add G2D driver for s5p device family")
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions
