diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-07-12 12:51:43 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-07-12 13:27:47 +0100 |
commit | c0f72f13c075a754afa7870ecf105138fba821bb (patch) | |
tree | a11c3b725a9c5325395990d0e424d0007250382d /daemon/9p.c | |
parent | ebe3d8f43a0ab7f60f3c1c612f117e793179f644 (diff) | |
download | libguestfs-c0f72f13c075a754afa7870ecf105138fba821bb.tar.gz libguestfs-c0f72f13c075a754afa7870ecf105138fba821bb.tar.xz libguestfs-c0f72f13c075a754afa7870ecf105138fba821bb.zip |
list-9p: Avoid double free along error path.
This updates commit 5f10c3350338bbca735a74db26f98da968957bd9.
Diffstat (limited to 'daemon/9p.c')
-rw-r--r-- | daemon/9p.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon/9p.c b/daemon/9p.c index 9e89e080..550516eb 100644 --- a/daemon/9p.c +++ b/daemon/9p.c @@ -82,7 +82,6 @@ do_list_9p (void) if (add_string (&r, &size, &alloc, mount_tag) == -1) { free (mount_tag); - free_stringslen (r, size); closedir (dir); return NULL; } |