summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf_test.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-06-27 17:31:28 +0200
committerNeale Ranns <nranns@cisco.com>2019-06-28 11:58:12 +0000
commit8d879e1a6bac47240a232893e914815f781fd4bf (patch)
tree3bcbeabe6a3438b03ec631de75efdbdaf8c257b3 /src/plugins/avf/avf_test.c
parent4752b29cfe229806c1cb2ae852c188d36be4c7cf (diff)
tap: fix memory errors in create/delete
If the host interface name is not specified at creation, host_if_name was wrongly set to a stack-allocated variable. Make sure it always points to a heap allocated vector. At deletion time, we must free all allocated vectors. Type:fix Change-Id: I17751f38e95097998d51225fdccbf3ce3c365593 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf_test.c')
0 files changed, 0 insertions, 0 deletions