summaryrefslogtreecommitdiffstats
path: root/drivers/atm/iphase.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-03-27 09:16:12 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-30 02:42:25 -0700
commitad19031b5f6ede5b2df057e3e1b4f82a2ef7f75f (patch)
tree1ec06208e25e6d39c0857d55ef4d1657dfba411d /drivers/atm/iphase.c
parent79b569f0ec53a14c4d71e79d93a8676d9a0fda6d (diff)
downloadop-kernel-dev-ad19031b5f6ede5b2df057e3e1b4f82a2ef7f75f.zip
op-kernel-dev-ad19031b5f6ede5b2df057e3e1b4f82a2ef7f75f.tar.gz
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>
Diffstat (limited to 'drivers/atm/iphase.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud