aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_filestream.h
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-01-17 14:02:00 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-19 09:52:22 -0500
commit88914bdf8c677ebd7e797adac05e47303fd6ac77 (patch)
tree6ba8b683d9b19ee4d2d7aa0836b1f2cf7dc4d1f6 /fs/xfs/xfs_filestream.h
parent559d162e1ebcdb61e89f154f2c2db376af072b0e (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 'fs/xfs/xfs_filestream.h')
0 files changed, 0 insertions, 0 deletions