leak: Free list of drives and mountpoints in guestfish.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Sep 2010 18:40:23 +0000 (19:40 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Sep 2010 18:51:22 +0000 (19:51 +0100)
commit8ea62c8d7f3f7f7e4057b93105cf979271aa13f4
tree7bf525e6617ddc2f858513cd935222ae2f7b5679
parente7f62742b6141fd19444fc0e191281777cd966f9
leak: Free list of drives and mountpoints in guestfish.

Previously the list of -a, -d, -m, -N parameters were leaked.  This
change frees them explicitly.

This is not such an important fix since guestfish is a one-shot
program, but it aids in finding other leaks in future.

(Found by valgrind).
fish/fish.c
fish/fish.h
fish/prep.c