summaryrefslogtreecommitdiffstats
path: root/src/launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/launch.c')
-rw-r--r--src/launch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/launch.c b/src/launch.c
index 8bc96fd6..e0ad165f 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -511,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).