On Sun, 18 Oct 2015 14:28:59 +0800 Huawei Xie <huawei.xie at intel.com> wrote:
> + if (vq->sw_ring) > + rte_free(vq->sw_ring); > + Do not need to test for NULL before calling rte_free. Better to just rely on the fact that rte_free(NULL) is documented to be ok (no operation).