[PATCH] Drivers: pcmcia: Fix memroy leak in sa11xx_drv_pcmcia_probe()
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Apr 22 01:58:27 PDT 2015
On Wed, Apr 22, 2015 at 04:25:48PM +0800, Firo Yang wrote:
> From: Firo Yang <firogm at gmail.com>
>
> Allocated clk was never freed if kzalloc() failed to alloc memory
> for skt_dev_info *sinfo. So just free clk when kzalloc() failed.
A similar patch was posted in March, and in March I posted a series
which addresses this in a better manner.
See the thread starting with message id
20150326112254.GZ8656 at n2100.arm.linux.org.uk
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
More information about the linux-pcmcia
mailing list