diff options
author | Steven Luong <sluong@cisco.com> | 2022-05-06 13:34:10 -0700 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2022-05-09 00:35:48 +0000 |
commit | fdc17b1ae7743bc37d4e08467d0295d6f277ec12 (patch) | |
tree | 9ced4be6daf0ea7c3383bc7b2c45f6be75f35378 /src/vat/json_test.c | |
parent | 01f6c7353084d1180387ae64b936e96028e17fbd (diff) |
vhost: memory leak upon deleting vhost-user interface
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
Diffstat (limited to 'src/vat/json_test.c')
0 files changed, 0 insertions, 0 deletions