X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Flaunch.c;h=e0ad165fc30ceb38b77cb2ff2a1c21c541f6dd83;hb=refs%2Ftags%2F1.5.18;hp=eaf39742a5e4a33dfcfe38824f045ac1e40e50a6;hpb=b4a3aec60ed4775f8ca2eb079e389af3a1769069;p=libguestfs.git diff --git a/src/launch.c b/src/launch.c index eaf3974..e0ad165 100644 --- a/src/launch.c +++ b/src/launch.c @@ -61,9 +61,7 @@ #include #include -#include "c-ctype.h" #include "glthread/lock.h" -#include "ignore-value.h" #include "guestfs.h" #include "guestfs-internal.h" @@ -513,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).