fuse: fix build when not available

The 'localmountpoint' variable in the handle is available only when
building with FUSE support, so guard it in a proper #ifdef block.

Fixes commit 296370fb86.

Thanks to: Corentin Labbe (both reporting, and testing)
This commit is contained in:
Pino Toscano
2018-06-15 12:41:31 +02:00
parent afd1c70601
commit 4f927e58a9

View File

@@ -399,7 +399,9 @@ guestfs_close (guestfs_h *g)
free (g->hv);
free (g->backend);
free (g->backend_data);
#if HAVE_FUSE
free (g->localmountpoint);
#endif
guestfs_int_free_string_list (g->backend_settings);
free (g->append);
guestfs_int_free_error_data_list (g);