diff options
author | Sean Young <sean@mess.org> | 2016-02-19 12:33:53 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-03 11:44:29 -0300 |
commit | a40973ff101ff8d3a42a8222e3119292f4191b07 (patch) | |
tree | 3d62ade9a625a58fac5ddbd4fd4782e99a8c7840 /drivers/media/pci/cx23885/cx23885-dvb.c | |
parent | 050b6c98b42ff77894da2aad34fcf0d4e1fed8e7 (diff) |
[media] igorplugusb: fix leaks in error path
Since rc_allocate_device() uses kmalloc, it can returns NULL,
so need to check, otherwise, NULL derefenrece can happen.
Reported-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885-dvb.c')
0 files changed, 0 insertions, 0 deletions