mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
cx231xx-audio: fix init error path
commitfff1abc4d5upstream. Make sure to release the snd_card also on a late allocation error. Fixes:e0d3bafd02("V4L/DVB (10954): Add cx231xx USB driver") Cc: Sri Deevi <Srinivasa.Deevi@conexant.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
40616929f8
commit
1b24b8c070
1 changed files with 14 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue