diff options
author | Jarod Wilson <jarod@redhat.com> | 2011-01-17 16:02:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 12:52:22 -0200 |
commit | 88914bdf8c677ebd7e797adac05e47303fd6ac77 (patch) | |
tree | 6ba8b683d9b19ee4d2d7aa0836b1f2cf7dc4d1f6 /Kconfig | |
parent | 559d162e1ebcdb61e89f154f2c2db376af072b0e (diff) |
[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 'Kconfig')
0 files changed, 0 insertions, 0 deletions