diff options
author | Eugenio Pérez | 2022-05-12 19:57:47 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-05-13 13:57:26 +0200 |
commit | 5181db132b587754dda3a520eec923b87a65bbb7 (patch) | |
tree | f2c37f073a884056c1e338b399fa052807fb5821 /hw/i386/x86.c | |
parent | hw/virtio: Replace g_memdup() by g_memdup2() (diff) | |
download | qemu-5181db132b587754dda3a520eec923b87a65bbb7.tar.gz qemu-5181db132b587754dda3a520eec923b87a65bbb7.tar.xz qemu-5181db132b587754dda3a520eec923b87a65bbb7.zip |
vhost: Fix element in vhost_svq_add failure
Coverity rightly reports that is not free in that case.
Fixes: Coverity CID 1487559
Fixes: 100890f7ca ("vhost: Shadow virtqueue buffers forwarding")
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20220512175747.142058-7-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/x86.c')
0 files changed, 0 insertions, 0 deletions