Oops, could you avoid leaking the result? g_autofree makes that easy.
thanks
---
qga/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/main.c b/qga/main.c
index c373fec3ee6..06e507b9979 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -270,7 +270,7 @@ QEMU_HELP_BOTTOM "\n"
, cmd, QGA_VIRTIO_PATH_DEFAULT, QGA_SERIAL_PATH_DEFAULT,
dfl_pathnames.pidfile,
#ifdef CONFIG_FSFREEZE
- QGA_FSFREEZE_HOOK_DEFAULT,
+ get_relocated_path(QGA_FSFREEZE_HOOK_DEFAULT),
#endif
dfl_pathnames.state_dir);
}
--
2.32.1 (Apple Git-133)
--
Marc-André Lureau