diff options
author | Alberto Garcia <berto@igalia.com> | 2021-07-08 13:47:05 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-07-09 13:19:11 +0200 |
commit | ab5b522879e2a7880418cbd29340675e5427572f (patch) | |
tree | c8bd07b7b0a3e64117ae3745222bcc9474de47ef /hw | |
parent | bcfd86d6a6432be75fd8700c7c1aabb243adf469 (diff) | |
download | qemu-ab5b522879e2a7880418cbd29340675e5427572f.zip qemu-ab5b522879e2a7880418cbd29340675e5427572f.tar.gz qemu-ab5b522879e2a7880418cbd29340675e5427572f.tar.bz2 |
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 'hw')
0 files changed, 0 insertions, 0 deletions