leak: Clear history before exiting guestfish.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Sep 2010 18:49:08 +0000 (19:49 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Sep 2010 18:51:22 +0000 (19:51 +0100)
commit8c5a4d949ee8ffe4ac7f373e667f2f8930db4543
tree3843e2785a4d8707f6bea90aa220478e34a2f746
parent8ea62c8d7f3f7f7e4057b93105cf979271aa13f4
leak: Clear history before exiting guestfish.

Clear the in-memory history before exiting.  This removes
some but not all memory leaks associated with using the GNU
History library.  As far as I can tell it is not possible to
free up everything used by GNU History.

(Found by valgrind).
fish/fish.c