commit | 0bfd14149b248e8097ea4da1f9d53beb5c5b0cca | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon May 15 15:26:04 2023 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 26 12:34:17 2023 +0200 |
tree | 5056134034267d51dd1c824ad11b451c5da97b8b | |
parent | 5590615276f217bc875b0fdc6c2351293f55df6c [diff] |
virtio: qmp: fix memory leak The VirtioInfoList is already allocated by QAPI_LIST_PREPEND and need not be allocated by the caller. Fixes Coverity CID 1508724. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>