X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.c;h=efd6b0b038d4394c842daf2bf6317b73cf5bfcfa;hb=7123f0cab155c5c25ecae670677683001c1634ad;hp=7b45fec75d6c2ea3f34c34395de9946bb6f0acac;hpb=baa1618e0f917017c1934b7da41250029c1791ef;p=libguestfs.git diff --git a/fish/fish.c b/fish/fish.c index 7b45fec..efd6b0b 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -208,6 +208,7 @@ main (int argc, char *argv[]) int next_prepared_drive = 1; initialize_readline (); + init_event_handlers (); memset (&sa, 0, sizeof sa); sa.sa_handler = SIG_IGN; @@ -548,6 +549,7 @@ main (int argc, char *argv[]) progress_bar_free (bar); guestfs_close (g); + free_event_handlers (); exit (EXIT_SUCCESS); }