diff options
author | Greg Kurz <groug@kaod.org> | 2016-09-16 08:56:14 +0200 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2016-09-16 08:56:14 +0200 |
commit | da4bc86c540991902e32e4e840c6ada573240254 (patch) | |
tree | 2c28c6cc6b2f1ba22b0964f34c7816197769bdb2 /hw/9pfs | |
parent | 799fe087e491e17ff02658d34e5fc696c79f6db5 (diff) | |
download | qemu-da4bc86c540991902e32e4e840c6ada573240254.zip qemu-da4bc86c540991902e32e4e840c6ada573240254.tar.gz qemu-da4bc86c540991902e32e4e840c6ada573240254.tar.bz2 |
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')
-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 52bbf4f..d091564 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; } |