aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2016-09-16 08:56:14 +0200
committerGreg Kurz <groug@kaod.org>2016-09-16 08:56:14 +0200
commitda4bc86c540991902e32e4e840c6ada573240254 (patch)
tree2c28c6cc6b2f1ba22b0964f34c7816197769bdb2
parent799fe087e491e17ff02658d34e5fc696c79f6db5 (diff)
9pfs: drop duplicate line in proxy backend
This double free did not cause harm because v9fs_string_free() sets str->data to NULL and g_free(NULL) is valid. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org>
-rw-r--r--hw/9pfs/9p-proxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/9pfs/9p-proxy.c b/hw/9pfs/9p-proxy.c
index 52bbf4f1b3..d091564b6f 100644
--- a/hw/9pfs/9p-proxy.c
+++ b/hw/9pfs/9p-proxy.c
@@ -777,7 +777,6 @@ static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *dir_path,
errno = -retval;
retval = -1;
}
- v9fs_string_free(&fullname);
return retval;
}