diff options
author | Damjan Marion <damarion@cisco.com> | 2017-07-11 12:05:06 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-07-12 21:00:53 +0000 |
commit | e0c6670eba118c26007ce05ec51f1b9c3022a083 (patch) | |
tree | d4a842974302131daf89f034fad410f9f57cbc8f /src/plugins | |
parent | 18ee167809d68e16e45098eafb5f7acb48c5e66a (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.c | 1 |
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); |