[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 2/8] 9pfs: drop duplicate line in proxy backend
From: |
Greg Kurz |
Subject: |
[Qemu-devel] [PULL v2 2/8] 9pfs: drop duplicate line in proxy backend |
Date: |
Fri, 16 Sep 2016 20:03:24 +0200 |
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 <address@hidden>
Reviewed-by: Cédric Le Goater <address@hidden>
---
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 52bbf4f1b37c..d091564b6fd2 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;
}
--
2.5.5
- [Qemu-devel] [PULL v2 0/8] 9p patches for 2.8 20160916, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 2/8] 9pfs: drop duplicate line in proxy backend,
Greg Kurz <=
- [Qemu-devel] [PULL v2 3/8] 9pfs: drop useless v9fs_string_null() function, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 1/8] 9pfs: drop unused fmt strings in the proxy backend, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 4/8] 9pfs: introduce v9fs_path_sprintf() helper, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 5/8] tests: virtio-9p: introduce start/stop functions, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 6/8] tests: virtio-9p: add basic configuration test, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 7/8] tests: virtio-9p: add basic transaction test, Greg Kurz, 2016/09/16
- [Qemu-devel] [PULL v2 8/8] 9pfs: fix potential segfault during walk, Greg Kurz, 2016/09/16