linux/drivers/net/atlx
Jesper Juhl ad19031b5f Atheros, atl2: Fix mem leaks in error paths of atl2_set_eeprom
We leak in some error paths of drivers/net/atlx/atl2.c:atl2_set_eeprom().
The memory allocated to 'eeprom_buff' is not freed when we return -EIO.
This patch fixes that up and also removes a pointless explicit cast.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-30 02:42:25 -07:00
..
atl1.c atl1: Do not use legacy PCI power management 2011-02-11 11:38:44 -08:00
atl1.h
atl2.c Atheros, atl2: Fix mem leaks in error paths of atl2_set_eeprom 2011-03-30 02:42:25 -07:00
atl2.h
atlx.c
atlx.h
Makefile