New APIs: upload-offset and download-offset
[libguestfs.git] / src / launch.c
index e43be0d..e0ad165 100644 (file)
@@ -62,7 +62,6 @@
 #include <netinet/in.h>
 
 #include "glthread/lock.h"
-#include "ignore-value.h"
 
 #include "guestfs.h"
 #include "guestfs-internal.h"
@@ -512,6 +511,8 @@ guestfs__launch (guestfs_h *g)
   kernel = NULL;
   free (initrd);
   initrd = NULL;
+  free (appliance);
+  appliance = NULL;
 
   /* Fork the recovery process off which will kill qemu if the parent
    * process fails to do so (eg. if the parent segfaults).