diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-09-24 16:15:41 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-23 13:42:16 +0100 |
commit | df6af7ce77447be89e0d054dc06fb496ec4e69b4 (patch) | |
tree | 9ae4798537b16ec3fa5458b8ecff436819bae068 /util | |
parent | dad4f19431653abf2a576ed062f8de4223eb228b (diff) |
block/export: consolidate request structs into VuBlockReq
Only one struct is needed per request. Drop req_data and the separate
VuBlockReq instance. Instead let vu_queue_pop() allocate everything at
once.
This fixes the req_data memory leak in vu_block_virtio_process_req().
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20200924151549.913737-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions