diff options
| author | Roger Pau Monne <roger.pau@citrix.com> | 2013-01-14 18:26:53 +0000 |
|---|---|---|
| committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-01-14 18:26:53 +0000 |
| commit | 282c6a2f292705f823554447ca0b7731b6f81a97 (patch) | |
| tree | 1089d3e728378cb2b4dd3c61e722b25609929b1f /hw/qdev-properties-system.c | |
| parent | a507db9599599ce33007b524276a6ea88e521662 (diff) | |
| download | focaccia-qemu-282c6a2f292705f823554447ca0b7731b6f81a97.tar.gz focaccia-qemu-282c6a2f292705f823554447ca0b7731b6f81a97.zip | |
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: Maik Wessler <maik.wessler@yahoo.com> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions