Skip to content
Commit 2274ae9d authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

chardev: fix QemuOpts lifecycle



qemu_chr_new_from_opts handles QemuOpts release now, so callers don't
have to worry.  It will either be saved in CharDriverState, then
released in qemu_chr_delete, or in the error case released instantly.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent bd2d80b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment