interface: remove the redundant vec_free on rx_queue_indices 29/33929/3
authorMohsin Kazmi <sykazmi@cisco.com>
Mon, 4 Oct 2021 09:21:57 +0000 (11:21 +0200)
committerDamjan Marion <dmarion@me.com>
Mon, 4 Oct 2021 18:39:15 +0000 (18:39 +0000)
commit482394428b00dfabff4848305d896d2df8046af9
tree73e11864276b9f8ba229452858efd9ddb970f315
parentee1ca438b3fd286536dc8a56549c5658a23678c2
interface: remove the redundant vec_free on rx_queue_indices

Type: fix

vnet_delete_hw_interface() calls vec_free on rx_queue_indices.
function vnet_hw_if_unregister_all_rx_queues() is used to free
rx_queue_indices which is also called by vnet_delete_hw_interface().
So, second vec_free is redundant.

Change-Id: Ibda4be38fd122d33532bb384c97b0b9e5f441134
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/interface.c