On Dienstag, 17. August 2021 15:52:39 CEST Christian Schoenebeck wrote:
> 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(-)
Queued on 9p.next:
https://github.com/cschoenebeck/qemu/commits/9p.next
Thanks!
Best regards,
Christian Schoenebeck