diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-06-27 17:31:28 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-06-28 11:58:12 +0000 |
commit | 8d879e1a6bac47240a232893e914815f781fd4bf (patch) | |
tree | 3bcbeabe6a3438b03ec631de75efdbdaf8c257b3 /test/test_mpls.py | |
parent | 4752b29cfe229806c1cb2ae852c188d36be4c7cf (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 'test/test_mpls.py')
0 files changed, 0 insertions, 0 deletions