Re: [PATCHv2 2/2] virtio: fix memory leak on device removal

2009-07-24 Thread Rusty Russell
On Thu, 23 Jul 2009 09:27:37 pm Michael S. Tsirkin wrote: > Make vp_free_vectors do the reverse of vq_request_vectors. > > Signed-off-by: Michael S. Tsirkin Thanks, applied! Rusty. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kerne

[PATCHv2 2/2] virtio: fix memory leak on device removal

2009-07-23 Thread Michael S. Tsirkin
Make vp_free_vectors do the reverse of vq_request_vectors. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 28 +++- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index a40e4