diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-07-03 10:53:40 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-07-03 23:18:56 +0200 |
commit | 05f7274c8bd4a958f6673d28bf9bca0a9cf09c76 (patch) | |
tree | f3e842c0813211571e5e33aa269dc4156e41d8b1 /bt-vhci.c | |
parent | 45434ba47b3e3ccc2ac76674bb3988a152554bf2 (diff) | |
download | qemu-05f7274c8bd4a958f6673d28bf9bca0a9cf09c76.zip qemu-05f7274c8bd4a958f6673d28bf9bca0a9cf09c76.tar.gz qemu-05f7274c8bd4a958f6673d28bf9bca0a9cf09c76.tar.bz2 |
qmp: Always free QMPRequest with qmp_request_free()
monitor_qmp_dispatch_one() frees a QMPRequest manually, because it
needs to keep a reference to ->id. Premature optimization. Take an
additional reference so we can use qmp_request_free().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-15-armbru@redhat.com>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions