linux-sg2042/drivers/parport
Wei Yongjun 9986ffd903 parport: fix possible memory leak in parport_gsc_probe_port()
ops has been allocated in this function and should be freed
before leaving from the error handling cases.

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-05 16:34:22 -07:00
..
BUGS-parport
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile
TODO-parport
daisy.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ieee1284.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ieee1284_ops.c parport: fix ieee1284_epp_read_addr 2008-02-08 09:22:36 -08:00
multiface.h
parport_amiga.c parport: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
parport_atari.c parport: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
parport_ax88796.c parport: convert drivers/parport/* to use module_platform_driver() 2011-11-30 20:11:46 +09:00
parport_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
parport_gsc.c parport: fix possible memory leak in parport_gsc_probe_port() 2012-09-05 16:34:22 -07:00
parport_gsc.h
parport_ip32.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
parport_mfc3.c parport: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
parport_pc.c Driver core pull for 3.5-rc1 2012-05-22 16:02:13 -07:00
parport_serial.c parport_serial: Add support for the WCH353 2S/1P multi-IO card 2012-09-05 13:18:13 -07:00
parport_sunbpp.c parport: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
probe.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
procfs.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
share.c parport: make lockdep happy with waitlist_lock 2011-01-26 10:49:59 +10:00