summaryrefslogtreecommitdiffstats
path: root/app/test/test_reorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_reorder.c')
-rw-r--r--app/test/test_reorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_reorder.c b/app/test/test_reorder.c
index add45511..d7dab321 100644
--- a/app/test/test_reorder.c
+++ b/app/test/test_reorder.c
@@ -300,7 +300,7 @@ test_reorder_drain(void)
goto exit;
}
if (robufs[0] != NULL)
- rte_pktmbuf_free(robufs[i]);
+ rte_pktmbuf_free(robufs[0]);
/* Insert more packets
* RB[] = {NULL, NULL, NULL, NULL}