qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] 9pfs: v9fs_walk() cleanup


From: Christian Schoenebeck
Subject: [PATCH 0/2] 9pfs: v9fs_walk() cleanup
Date: Tue, 17 Aug 2021 15:52:39 +0200

Few cleanup patches for function v9fs_walk() as discussed last month.

In patch 2 array variables 'wnames' and 'pathes' are omitted because they
contain dynamically allocated memory per array element which need to be
freed individually before freeing the array.

Christian Schoenebeck (2):
  hw/9pfs: avoid 'path' copy in v9fs_walk()
  hw/9pfs: use g_autofree in v9fs_walk() where possible

 hw/9pfs/9p.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]