modprobe: fix potential memory leak on failure path
commit4b4fb8c2e5a1f6f85c3e19c7183bc6e79852f5f7
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 30 Sep 2009 16:22:10 +0000 (30 17:22 +0100)
committerAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 25 Feb 2010 15:29:24 +0000 (25 15:29 +0000)
tree76b80f67cf7ce6f7b535b69918dfa6bdece79510
parent09e4ce22b5751918ea1c8bd11ee36a10bcc21c54
modprobe: fix potential memory leak on failure path

Ensure release_elf_file() is called on a rare failure path.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
modprobe.c