[PATCH] e1000: avoid leak when e1000_setup_loopback_test fails
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2005 20:45:02 +0000 (15:45 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Nov 2005 18:52:39 +0000 (13:52 -0500)
In e1000_loopback_test, make sure to call e1000_free_desc_rings if
e1000_setup_loopback_test fails.  Currently in that case it will not
get called, causing a leak.

Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found