diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-15 15:26:04 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-26 12:34:17 +0200 |
| commit | 0bfd14149b248e8097ea4da1f9d53beb5c5b0cca (patch) | |
| tree | 5056134034267d51dd1c824ad11b451c5da97b8b /scripts | |
| parent | 5590615276f217bc875b0fdc6c2351293f55df6c (diff) | |
| download | focaccia-qemu-0bfd14149b248e8097ea4da1f9d53beb5c5b0cca.tar.gz focaccia-qemu-0bfd14149b248e8097ea4da1f9d53beb5c5b0cca.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions