linux/drivers/staging
Jarod Wilson 88914bdf8c [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>
2011-01-19 12:52:22 -02:00
..
asus_oled
ath6kl
autofs
bcm staging: fix build failure in bcm driver 2011-01-17 17:39:39 -08:00
brcm80211
comedi
cptm1217
crystalhd
cs5535_gpio
cx25821
cxt1e1
dabusb
dt3155v4l
easycap
echo
et131x
frontier
ft1000
go7007
hv
iio
intel_sst
keucr
line6
lirc [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
memrar
msm
octeon
olpc_dcon
panel
phison
pohmelfs
quatech_usb2
quickstart
rt2860
rt2870
rtl8187se
rtl8192e
rtl8192u
rtl8712
samsung-laptop
sbe-2t3e3
se401
sep
serqt_usb2
slicoss
sm7xx
smbfs staging: smbfs building fix 2011-01-17 01:50:52 -05:00
solo6x10
speakup
spectra
ste_rmi4
ti-st
tidspbridge
tm6000 [media] tm6000: rework init code 2011-01-19 11:45:58 -02:00
usbip
usbvideo
vme
vt6655
vt6656
westbridge
winbond
wlags49_h2
wlags49_h25
wlan-ng
xgifb
zram
Kconfig
Makefile
staging.c