diff options
author | Sean Young <sean@mess.org> | 2016-02-19 15:33:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-03 15:44:29 +0100 |
commit | a40973ff101ff8d3a42a8222e3119292f4191b07 (patch) | |
tree | 3d62ade9a625a58fac5ddbd4fd4782e99a8c7840 /drivers/cpuidle/cpuidle-pseries.c | |
parent | [media] media: au0828 enable the right media source when input changes (diff) | |
download | linux-a40973ff101ff8d3a42a8222e3119292f4191b07.tar.xz linux-a40973ff101ff8d3a42a8222e3119292f4191b07.zip |
[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/cpuidle/cpuidle-pseries.c')
0 files changed, 0 insertions, 0 deletions