diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-13 13:53:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-10 12:34:10 +0200 |
commit | fff1abc4d54e469140a699612b4db8d6397bfcba (patch) | |
tree | b49a938b2df16bce190827a9e0cd53bbd27e6cf4 /Documentation/block | |
parent | [media] cx231xx-cards: fix NULL-deref at probe (diff) | |
download | linux-fff1abc4d54e469140a699612b4db8d6397bfcba.tar.xz linux-fff1abc4d54e469140a699612b4db8d6397bfcba.zip |
[media] cx231xx-audio: fix init error path
Make sure to release the snd_card also on a late allocation error.
Fixes: e0d3bafd0258 ("V4L/DVB (10954): Add cx231xx USB driver")
Cc: stable <stable@vger.kernel.org> # 2.6.30
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions