diff options
author | Greg Kurz | 2016-09-16 08:56:14 +0200 |
---|---|---|
committer | Greg Kurz | 2016-09-16 08:56:14 +0200 |
commit | da4bc86c540991902e32e4e840c6ada573240254 (patch) | |
tree | 2c28c6cc6b2f1ba22b0964f34c7816197769bdb2 /hw/9pfs/9p-proxy.c | |
parent | 9pfs: drop unused fmt strings in the proxy backend (diff) | |
download | qemu-da4bc86c540991902e32e4e840c6ada573240254.tar.gz qemu-da4bc86c540991902e32e4e840c6ada573240254.tar.xz qemu-da4bc86c540991902e32e4e840c6ada573240254.zip |
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>
Diffstat (limited to 'hw/9pfs/9p-proxy.c')
-rw-r--r-- | hw/9pfs/9p-proxy.c | 1 |
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; } |