[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
- [PATCH 0/2] 9pfs: v9fs_walk() cleanup,
Christian Schoenebeck <=
[PATCH 1/2] hw/9pfs: avoid 'path' copy in v9fs_walk(), Christian Schoenebeck, 2021/08/17
Re: [PATCH 0/2] 9pfs: v9fs_walk() cleanup, Christian Schoenebeck, 2021/08/20