commit | 8c7c5c102426cafcb2d118e307f246df66d650de | [log] [tgz] |
---|---|---|
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | Wed Sep 30 17:22:10 2009 +0100 |
committer | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | Thu Feb 25 16:00:44 2010 +0000 |
tree | a3ae13a56480d0fd68c3c8f56ed2816457a6d3b7 | |
parent | 6392a1a21c0c2a6edb6579f27d897b5c880ad98d [diff] |
insmod: fix memory leak insmod makes a half-successful attempt to clean up on failure. Let's make it clean up on all failures, and remember to clean up on success as well. This leaves modprobe as the only leaky program, at least for the code paths executed by the test suite. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>