modprobe: fix memory leak when built with zlib support
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 30 Sep 2009 16:22:10 +0000 (17:22 +0100)
committerAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 25 Feb 2010 15:29:24 +0000 (15:29 +0000)
commit6392a1a21c0c2a6edb6579f27d897b5c880ad98d
tree74b393077f3df987eae3b1705e78e1db310121d2
parent6c20c7fccae46cd5ac70e27fced1a7f93c96ff59
modprobe: fix memory leak when built with zlib support

We don't use posix file locks anymore, so we don't need to play games
with fds, and we don't need to worry about dropping locks when we close
fds.  This allows us to simplify the code a bit and remove the
intentional memory leak.

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