]> git.karo-electronics.de Git - mv-sheeva.git/commit
netxen: fix memory leaks in error path
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Sun, 13 Jun 2010 23:39:03 +0000 (23:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 01:15:26 +0000 (18:15 -0700)
commitbf445080dad9542c6bc6b693d941cae89605134c
tree973dc69dee286bc97aa7f927481b3359e265c7bb
parent44b496f685ca68c0d96eb3ad88e3948fad3417d6
netxen: fix memory leaks in error path

Fixes memory leak in error path when memory allocation
for adapter data structures fails.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_ctx.c
drivers/net/netxen/netxen_nic_init.c