Re: [PATCH v4 2/2] virtio-iommu: avoid memleak in the unrealize

2020-03-30 Thread Stefano Garzarella
On Sat, Mar 28, 2020 at 08:57:05AM +0800, Pan Nengyuan wrote: > req_vq/event_vq forgot to free in unrealize. Fix that. > And also do clean 's->as_by_busptr' hash table in unrealize to fix another > leak. > > Signed-off-by: Pan Nengyuan > Acked-by: Eric Auger > --- > Cc: Eric Auger > Cc: Stefan

[PATCH v4 2/2] virtio-iommu: avoid memleak in the unrealize

2020-03-27 Thread Pan Nengyuan
req_vq/event_vq forgot to free in unrealize. Fix that. And also do clean 's->as_by_busptr' hash table in unrealize to fix another leak. Signed-off-by: Pan Nengyuan Acked-by: Eric Auger --- Cc: Eric Auger Cc: Stefan Hajnoczi --- v3->v1/v2: - Also clean 's->as_by_busptr' hash table in unrealize.