tests/9pfs: Use g_autofree and g_autoptr where possible
commit494fbbd3ed46a14ef0924651c058b9b0dcb4a7b4
authorGreg Kurz <groug@kaod.org>
Tue, 1 Feb 2022 15:15:08 +0000 (1 16:15 +0100)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Thu, 17 Feb 2022 15:57:58 +0000 (17 16:57 +0100)
treed9c4100e820695d44e721c5d87330b1dbc303200
parentba6112e40c03594cf4e3a7a6ebf52341153e7496
tests/9pfs: Use g_autofree and g_autoptr where possible

It is recommended to use g_autofree or g_autoptr as it reduces
the odds of introducing memory leaks in future changes.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20220201151508.190035-3-groug@kaod.org>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
tests/qtest/libqos/virtio-9p.c