All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] 9pfs: v9fs_walk() cleanup
@ 2021-08-17 13:52 Christian Schoenebeck
  2021-08-17 12:38 ` [PATCH 1/2] hw/9pfs: avoid 'path' copy in v9fs_walk() Christian Schoenebeck
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Christian Schoenebeck @ 2021-08-17 13:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: Greg Kurz

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-08-20 14:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 13:52 [PATCH 0/2] 9pfs: v9fs_walk() cleanup Christian Schoenebeck
2021-08-17 12:38 ` [PATCH 1/2] hw/9pfs: avoid 'path' copy in v9fs_walk() Christian Schoenebeck
2021-08-20 10:35   ` Greg Kurz
2021-08-20 12:19     ` Christian Schoenebeck
2021-08-17 13:46 ` [PATCH 2/2] hw/9pfs: use g_autofree in v9fs_walk() where possible Christian Schoenebeck
2021-08-17 14:10   ` Philippe Mathieu-Daudé
2021-08-20 10:40   ` Greg Kurz
2021-08-20 12:23     ` Christian Schoenebeck
2021-08-20 12:34       ` Greg Kurz
2021-08-20 12:49         ` Christian Schoenebeck
2021-08-20 14:30 ` [PATCH 0/2] 9pfs: v9fs_walk() cleanup Christian Schoenebeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.