commit | 2467ab9590092ffdf837e9283e84dedd04c93ab3 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Wed Jan 06 06:54:16 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 07 01:07:30 2010 -0800 |
tree | aa528b1edbc10c3c438996aea7901ed199a58888 | |
parent | c91aa55e7e65be11d68dffb66be5f7a44506fb54 [diff] |
NET: atlx, fix memory leak Stanse found a memory leak in atl2_get_eeprom. eeprom_buff is not freed/assigned on all paths. Fix that. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Jay Cliburn <jcliburn@gmail.com> Cc: Chris Snook <chris.snook@gmail.com> Cc: Jie Yang <jie.yang@atheros.com> Cc: atl1-devel@lists.sourceforge.net Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>