summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2021-07-08 13:47:05 +0200
committerKevin Wolf <kwolf@redhat.com>2021-07-09 13:19:11 +0200
commitab5b522879e2a7880418cbd29340675e5427572f (patch)
treec8bd07b7b0a3e64117ae3745222bcc9474de47ef /qemu-io-cmds.c
parentbcfd86d6a6432be75fd8700c7c1aabb243adf469 (diff)
downloadfocaccia-qemu-ab5b522879e2a7880418cbd29340675e5427572f.tar.gz
focaccia-qemu-ab5b522879e2a7880418cbd29340675e5427572f.zip
block: Add bdrv_reopen_queue_free()
Move the code to free a BlockReopenQueue to a separate function.
It will be used in a subsequent patch.

[ kwolf: Also free explicit_options and options, and explicitly
  qobject_ref() the value when it continues to be used. This makes
  future memory leaks less likely. ]

Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210708114709.206487-3-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions