Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e98fc4aa authored by John W. Linville's avatar John W. Linville
Browse files

[PATCH] e1000: avoid leak when e1000_setup_loopback_test fails



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: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cd52d1ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment