diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2016-05-05 16:53:35 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-06-20 11:44:12 +0100 |
| commit | f1d3b99154138741161fc52f5a8c373bf71613c6 (patch) | |
| tree | 9b8dc89292f0f64c6151601192a12c0805bc3047 /hw/timer/lm32_timer.c | |
| parent | c75f4c061bacad0c41708bf17d526fac72314ad0 (diff) | |
| download | focaccia-qemu-f1d3b99154138741161fc52f5a8c373bf71613c6.tar.gz focaccia-qemu-f1d3b99154138741161fc52f5a8c373bf71613c6.zip | |
libqos: add qvirtqueue_cleanup()
qvirtqueue_setup() allocates the vring and virtqueue state. So far there has been no function to free it. Callers have been using guest_free() for the vring but forgot to free the QVirtQueue state. This patch solves the memory leak by introducing qvirtqueue_cleanup(). Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions