diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2019-10-25 10:35:22 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-10-25 07:46:22 -0400 |
commit | 4a0117cf6e04d568a1963540bc0fa133b4d09b33 (patch) | |
tree | 76a38183d13bc3eae7fe4cadd6ffe3a78e6f55e3 /authz/simple.c | |
parent | f90cda636d4d18f691d8e9ff386e222570ff6552 (diff) | |
download | qemu-4a0117cf6e04d568a1963540bc0fa133b4d09b33.zip |
virtio: Free blk virqueues at unrealize()
The function virtio_del_queue was not called at unrealize() callback.
This was detected due to add an allocated element on the vq introduce
in future commits (used_elems) and running address sanitizer memory
leak detector.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20191025083527.30803-4-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'authz/simple.c')
0 files changed, 0 insertions, 0 deletions