vhost: memory leak upon deleting vhost-user interface 00/36100/2
authorSteven Luong <sluong@cisco.com>
Fri, 6 May 2022 20:34:10 +0000 (13:34 -0700)
committerNeale Ranns <neale@graphiant.com>
Mon, 9 May 2022 00:35:48 +0000 (00:35 +0000)
We allocate vring_spinlock for all vrings in the vui, not just the ones
being used. So when we free the vui, we have to free vring_spinlock for
all vrings, not just the one being used.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I3951fda71ce6e11474b04302116ea9e08b404758


No differences found