summaryrefslogtreecommitdiff
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-01-17 19:02:00 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-19 14:52:22 (GMT)
commit88914bdf8c677ebd7e797adac05e47303fd6ac77 (patch)
tree6ba8b683d9b19ee4d2d7aa0836b1f2cf7dc4d1f6 /drivers/media/dvb
parent559d162e1ebcdb61e89f154f2c2db376af072b0e (diff)
downloadlinux-88914bdf8c677ebd7e797adac05e47303fd6ac77.tar.xz
[media] staging/lirc: fix mem leaks and ptr err usage
When the lirc drivers were converted over to using memdup_user, I mistakenly also removed corresponding calls to kfree. Add those back. I also screwed up on the allocation error check in lirc_serial, using if (PTR_ERR()) instead of if (IS_ERR()), which broke transmit. Reported-by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions