X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Flaunch.c;h=e0ad165fc30ceb38b77cb2ff2a1c21c541f6dd83;hp=8bc96fd6efe05eff3bfee905a5312400554a3618;hb=6d276dae8d1bbb54d8708c94d23879d39f5fd4a3;hpb=0132890790a082c5d0f31cc64367b4897c8e88b7 diff --git a/src/launch.c b/src/launch.c index 8bc96fd..e0ad165 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).