Displaying 1 result from an estimated 1 matches for "e4961f201".
2018 Apr 30
0
[PATCH 2/4] launch: libvirt: free format string
When the result guestfs_disk_format() is not known, free the string
before returning an error.
---
lib/launch-libvirt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/launch-libvirt.c b/lib/launch-libvirt.c
index e4961f201..844023b80 100644
--- a/lib/launch-libvirt.c
+++ b/lib/launch-libvirt.c
@@ -197,6 +197,7 @@ get_source_format_or_autodetect (guestfs_h *g, struct drive *drv)
error (g, _("could not auto-detect the format.\n"
"If the format is known, pass the format to libgue...