summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-07-11 12:05:06 +0200
committerNeale Ranns <nranns@cisco.com>2017-07-12 21:00:53 +0000
commite0c6670eba118c26007ce05ec51f1b9c3022a083 (patch)
treed4a842974302131daf89f034fad410f9f57cbc8f /src/plugins
parent18ee167809d68e16e45098eafb5f7acb48c5e66a (diff)
memif: avoid double buffer free
Change-Id: I902f54618c4e1f649af11497c1cb10922e43755a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins')
-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);