aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/vhost_user.c
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2018-09-20 15:36:51 +0200
committerDave Barach <openvpp@barachs.net>2018-09-20 19:13:25 +0000
commitdf32bc4dee0cfe514a8fca5085ea555211521387 (patch)
treef0e4e6deb4e21ab26fa3e5fb1762210e715eb91b /src/vnet/devices/virtio/vhost_user.c
parent4a6cb83d334e391f85332ea38a2e467ac7743e4b (diff)
bihash template: avoid memory leak upon rehash
Call the BV (value_free) when we have performed the rehash and thus no longer need the memory that old value for the bucket refers to. Change-Id: Ibb82174fc8002aeb3e1a6c8d1f90293d73bc45d8 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/devices/virtio/vhost_user.c')
0 files changed, 0 insertions, 0 deletions