From: Richard W.M. Jones Date: Tue, 12 Jul 2011 11:51:43 +0000 (+0100) Subject: list-9p: Avoid double free along error path. X-Git-Tag: 1.11.15~9 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=c0f72f13c075a754afa7870ecf105138fba821bb;p=libguestfs.git list-9p: Avoid double free along error path. This updates commit 5f10c3350338bbca735a74db26f98da968957bd9. --- diff --git a/daemon/9p.c b/daemon/9p.c index 9e89e08..550516e 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; }