aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-07-11 12:05:06 +0200
committerDamjan Marion <damarion@cisco.com>2017-07-11 12:05:19 +0200
commite1f08898aed2dbc91115205959821f93bb821d34 (patch)
tree4497991ca95ee37dca5f818c25b57d5ce7bfeb41 /src
parent3bb5baf9f25cbb7726f003e4c1f419dadadcab96 (diff)
memif: avoid double buffer free
Change-Id: I902f54618c4e1f649af11497c1cb10922e43755a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/memif/device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/memif/device.c b/src/plugins/memif/device.c
index 07afc303e83..d1696e5d87d 100644
--- a/src/plugins/memif/device.c
+++ b/src/plugins/memif/device.c
@@ -245,7 +245,6 @@ memif_interface_tx_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
{
vlib_error_count (vm, node->node_index, MEMIF_TX_ERROR_NO_FREE_SLOTS,
n_left);
- vlib_buffer_free (vm, buffers, n_left);
}
vlib_buffer_free (vm, vlib_frame_args (frame), frame->n_vectors);