diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-12-10 06:15:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-20 11:25:18 +0300 |
commit | 033e86f47388583d460e1ea075fc4581d23c0fe1 (patch) | |
tree | a4114f47bfd9064322300c736130cb6033e7bca6 /.gitignore | |
parent | 823617d0cc1e08e589fdc181fe4fa441975fa5f8 (diff) | |
download | linux-033e86f47388583d460e1ea075fc4581d23c0fe1.tar.xz |
media: go7007: fix a miss of snd_card_free
commit 9453264ef58638ce8976121ac44c07a3ef375983 upstream.
go7007_snd_init() misses a snd_card_free() in an error path.
Add the missed call to fix it.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
[Salvatore Bonaccorso: Adjust context for backport to versions which do
not contain c0decac19da3 ("media: use strscpy() instead of strlcpy()")
and ba78170ef153 ("media: go7007: Fix misuse of strscpy")]
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions