From da4bc86c540991902e32e4e840c6ada573240254 Mon Sep 17 00:00:00 2001 From: Greg Kurz Date: Fri, 16 Sep 2016 08:56:14 +0200 Subject: [PATCH] 9pfs: drop duplicate line in proxy backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Cédric Le Goater --- hw/9pfs/9p-proxy.c | 1 - 1 file changed, 1 deletion(-) 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; }