kernel-ark/drivers/char
Jesper Juhl 80cd69203c ipmi: Fix mem leak in try_init_dmi()
This is only called at init time and only happens if the BIOS screws
something up, so the leak is slight and it is probably not worth sending to
2.6.22.x.  The driver would not initialize the interface in the case, and I
have no reports of this happening.  I have booted and run tests on a system
with this patch.  Note that the original patch was munged by the mailer,
here's a new one.

If we ever hit the "default:" case in the switch in try_init_dmi(),
then we'll leak the storage allocated with kzalloc() and assigned
to 'info'.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-31 15:39:41 -07:00
..
agp Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
drm
hw_random
ip2
ipmi ipmi: Fix mem leak in try_init_dmi() 2007-07-31 15:39:41 -07:00
mwave
pcmcia
rio
tpm
watchdog
.gitignore
amiserial.c
apm-emulation.c
applicom.c
applicom.h
briq_panel.c
cd1865.h
ChangeLog
consolemap.c
cp437.uni
cs5535_gpio.c
cyclades.c
defkeymap.c_shipped
defkeymap.map
digi1.h
digiFep1.h
digiPCI.h
ds1286.c
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
ec3104_keyb.c
efirtc.c
epca.c
epca.h
epcaconfig.h
esp.c
generic_nvram.c
generic_serial.c
genrtc.c
hangcheck-timer.c
hpet.c use CLOCKSOURCE_MASK() instead of too large constant 2007-07-26 11:11:57 -07:00
hvc_beat.c
hvc_console.c
hvc_console.h
hvc_iseries.c
hvc_lguest.c lguest: documentation VII: FIXMEs 2007-07-26 11:35:17 -07:00
hvc_rtas.c
hvc_vio.c
hvc_xen.c
hvcs.c
hvsi.c
i8k.c
ip27-rtc.c
isicom.c
istallion.c
Kconfig Char: cyclades, select FW_LOADER 2007-07-26 11:35:19 -07:00
keyboard.c
lcd.c
lcd.h
lp.c
Makefile [SPARC32]: Deal with rtc/sun_mostek_rtc conflict. 2007-07-24 13:24:32 -07:00
mbcs.c
mbcs.h
mem.c
misc.c
mmtimer.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
moxa.c
mspec.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
mxser_new.c
mxser_new.h
mxser.c
mxser.h
n_hdlc.c
n_r3964.c
n_tty.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
pty.c
random.c
raw.c
riscom8_reg.h
riscom8.c
riscom8.h
rocket_int.h
rocket.c
rocket.h
rtc.c
scc.h
scx200_gpio.c
selection.c
ser_a2232.c
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c
snsc_event.c
snsc.c
snsc.h
sonypi.c
specialix_io8.h
specialix.c
stallion.c
sx.c
sx.h
sxboards.h
sxwindow.h
synclink_gt.c synclink_gt: fix transmit DMA stall 2007-07-31 15:39:37 -07:00
synclink.c
synclinkmp.c
sysrq.c
tb0219.c
tipar.c
tlclk.c
toshiba.c
tty_audit.c
tty_io.c
tty_ioctl.c
vc_screen.c
viocons.c
viotape.c
vme_scc.c
vr41xx_giu.c
vt_ioctl.c
vt.c