mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user