diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-09-21 19:37:24 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-09-21 19:51:22 +0100 |
commit | 6d276dae8d1bbb54d8708c94d23879d39f5fd4a3 (patch) | |
tree | 2c1a96f6f47c9a5fa41f2ea2be2ec29e83ff7682 | |
parent | 0132890790a082c5d0f31cc64367b4897c8e88b7 (diff) | |
download | libguestfs-6d276dae8d1bbb54d8708c94d23879d39f5fd4a3.tar.gz libguestfs-6d276dae8d1bbb54d8708c94d23879d39f5fd4a3.tar.xz libguestfs-6d276dae8d1bbb54d8708c94d23879d39f5fd4a3.zip |
leak: Appliance name was leaked during guestfs_launch.
This frees the string containing the name of the appliance
which was previously being leaked during launch.
(Found by valgrind).
-rw-r--r-- | src/launch.c | 2 |
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). |