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>
This commit is contained in:
Marc-André Lureau 2021-07-26 10:32:37 +04:00
parent fa670c808a
commit 4085b87ff0
1 changed files with 2 additions and 0 deletions

View File

@ -150,4 +150,6 @@ QDict *keyval_parse(const char *params, const char *implied_key,
bool *help, Error **errp); bool *help, Error **errp);
void keyval_merge(QDict *old, const QDict *new, Error **errp); void keyval_merge(QDict *old, const QDict *new, Error **errp);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(QemuOpts, qemu_opts_del)
#endif #endif