Skip to content
Commit 282c6a2f authored by Roger Pau Monne's avatar Roger Pau Monne Committed by Stefano Stabellini
Browse files

xen_disk: fix memory leak



On ioreq_release the full ioreq was memset to 0, loosing all the data
and memory allocations inside the QEMUIOVector, which leads to a
memory leak. Create a new function to specifically reset ioreq.

Reported-by: default avatarMaik Wessler <maik.wessler@yahoo.com>
Signed-off-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
parent a507db95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment