]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_reorder.c
vhost: fix sprintf with snprintf
[dpdk.git] / test / test / test_reorder.c
index ccee4d086a2056a1360afcd5ee3fcbfafef58a56..58fa9c71b577fcbe0afafb082f34037dc99a97af 100644 (file)
@@ -269,7 +269,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}