On Fri, May 26, 2023 at 12:24:53PM +0200, Paolo Bonzini wrote: > The VirtioInfoList is already allocated by QAPI_LIST_PREPEND and > need not be allocated by the caller. > > Fixes Coverity CID 1508724. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > hw/virtio/virtio-qmp.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|