From: Greg Kurz Date: Fri, 16 Sep 2016 06:56:14 +0000 (+0200) Subject: 9pfs: drop duplicate line in proxy backend X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da4bc86c540991902e32e4e840c6ada573240254;p=qemu.git 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 Reviewed-by: Cédric Le Goater --- 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; }