diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-07-26 10:32:37 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-12-21 10:50:22 +0400 |
commit | 4085b87ff0a26e6db7d95a82fcdff861046e6308 (patch) | |
tree | 8aa7e2ad6790e39ab6e2f7b05acfc50786a24df5 | |
parent | fa670c808a2523f05c4b0cb0df9cb01b56c4069e (diff) | |
download | qemu-4085b87ff0a26e6db7d95a82fcdff861046e6308.zip qemu-4085b87ff0a26e6db7d95a82fcdff861046e6308.tar.gz qemu-4085b87ff0a26e6db7d95a82fcdff861046e6308.tar.bz2 |
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 306bf07..bbd86e1 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 |