From: John W. Linville Date: Tue, 8 Nov 2005 20:45:02 +0000 (-0500) Subject: [PATCH] e1000: avoid leak when e1000_setup_loopback_test fails X-Git-Tag: v2.6.16-rc1~474^2~22^2~7^2~21^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e98fc4aae10b925ad5aa739c483abf78d80b66db;p=pandora-kernel.git [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: John W. Linville --- Reading git-diff-tree failed