9pfs fix for 2.9 2017-04-10
The following changes since commit 5daf9b3025baef10ee7b77daa003d5696b58d5dc:
Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2017-04-07 15:23:48 +0100)
are available in the git repository at:
https://github.com/gkurz/qemu.git tags/for-upstream
for you to fetch changes up to 4ffcdef4277a91af15a3c09f7d16af072c29f3f2:
9pfs: xattr: fix memory leak in v9fs_list_xattr (2017-04-10 09:38:05 +0200)
----------------------------------------------------------------
Fixes a memory leak.
----------------------------------------------------------------
Li Qiang (1):
9pfs: xattr: fix memory leak in v9fs_list_xattr
hw/9pfs/9p-xattr.c | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.7.4
[Qemu-devel] [PULL] 9pfs: xattr: fix memory leak in v9fs_list_xattr
From: Li Qiang <[email protected]>
Free 'orig_value' in error path.
--- hw/9pfs/9p-xattr.c | 1 + 1 file changed, 1 insertion(+)
hw/9pfs/9p-xattr.c +1 -0
@@ -108,6 +108,7 @@ ssize_t v9fs_list_xattr(FsContext *ctx, const char *path,g_free (name);close_preserve_errno (dirfd);if (xattr_len <0 ) { +g_free (orig_value);return -1 ; }
Signature · 1 line
2.7.4
Peter Maydell
AppliedQuoted 15 lines · Greg Kurz
The following changes since commit
5daf9b3025baef10ee7b77daa003d5696b58d5dc:Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2017-04-07 15:23:48 +0100)
are available in the git repository at:
https://github.com/gkurz/qemu.git tags/for-upstream
for you to fetch changes up to
4ffcdef4277a91af15a3c09f7d16af072c29f3f2:9pfs: xattr: fix memory leak in
v9fs_list_xattr(2017-04-10 09:38:05 +0200)----------------------------------------------------------------
Fixes a memory leak.
Quoted 8 lines
----------------------------------------------------------------
Li Qiang (1):
9pfs: xattr: fix memory leak inv9fs_list_xattrhw/9pfs/9p-xattr.c | 1 + 1 file changed, 1 insertion(+)--
2.7.4
Applied, thanks.
-- PMM