diff options
author | Greg Kurz | 2022-02-01 16:15:08 +0100 |
---|---|---|
committer | Christian Schoenebeck | 2022-02-17 16:57:58 +0100 |
commit | 494fbbd3ed46a14ef0924651c058b9b0dcb4a7b4 (patch) | |
tree | d9c4100e820695d44e721c5d87330b1dbc303200 /hw/mem/nvdimm.c | |
parent | tests/9pfs: Fix leak of local_test_path (diff) | |
download | qemu-494fbbd3ed46a14ef0924651c058b9b0dcb4a7b4.tar.gz qemu-494fbbd3ed46a14ef0924651c058b9b0dcb4a7b4.tar.xz qemu-494fbbd3ed46a14ef0924651c058b9b0dcb4a7b4.zip |
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>
Diffstat (limited to 'hw/mem/nvdimm.c')
0 files changed, 0 insertions, 0 deletions