Stefan Hajnoczi f1d3b99154 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>
2016-06-20 11:44:12 +01:00
..
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2015-11-13 14:31:42 -05:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2016-06-20 11:44:12 +01:00
2016-06-20 11:44:12 +01:00
2016-06-20 11:44:12 +01:00
2016-06-20 11:44:12 +01:00