summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/xc5000.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-09-25 13:39:41 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-24 13:28:12 +0200
commit34d7c248ad28c5d462182c5063523023604efc12 (patch)
treec1fbd7d5199d0fbbdfaa9cbf3673fc67da486600 /drivers/media/tuners/xc5000.c
parent[media] wl128x: fix fmdbg compiler warning (diff)
downloadlinux-34d7c248ad28c5d462182c5063523023604efc12.tar.xz
linux-34d7c248ad28c5d462182c5063523023604efc12.zip
[media] em28xx-input: NULL dereference on error
We call "kfree(ir->i2c_client);" in the error handling and that doesn't work if "ir" is NULL. Fixes: 78e719a5f30b ('[media] em28xx-input: i2c IR decoders: improve i2c_client handling') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions