diff options
author | Marc-André Lureau | 2021-07-26 08:32:37 +0200 |
---|---|---|
committer | Marc-André Lureau | 2021-12-21 07:50:22 +0100 |
commit | 4085b87ff0a26e6db7d95a82fcdff861046e6308 (patch) | |
tree | 8aa7e2ad6790e39ab6e2f7b05acfc50786a24df5 | |
parent | chardev: make socket derivable (diff) | |
download | qemu-4085b87ff0a26e6db7d95a82fcdff861046e6308.tar.gz qemu-4085b87ff0a26e6db7d95a82fcdff861046e6308.tar.xz qemu-4085b87ff0a26e6db7d95a82fcdff861046e6308.zip |
option: add g_auto for QemuOpts
Used in the next commit.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | include/qemu/option.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h index 306bf07575..bbd86e1c4e 100644 --- a/include/qemu/option.h +++ b/include/qemu/option.h @@ -150,4 +150,6 @@ QDict *keyval_parse(const char *params, const char *implied_key, bool *help, Error **errp); void keyval_merge(QDict *old, const QDict *new, Error **errp); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(QemuOpts, qemu_opts_del) + #endif |