• Jiri Slaby's avatar
    NET: atlx, fix memory leak · 2467ab95
    Jiri Slaby authored
    Stanse found a memory leak in atl2_get_eeprom. eeprom_buff is not
    freed/assigned on all paths. Fix that.
    Signed-off-by: default avatarJiri 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: default avatarDavid S. Miller <davem@davemloft.net>
    2467ab95
atl2.c 80.4 KB