On 03/25/2015 06:00 PM, Olivier Matz wrote: > Signed-off-by: Olivier Matz <olivier.matz at 6wind.com> > --- > app/test/test_mbuf.c | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > [...] > > @@ -394,6 +418,8 @@ fail: > rte_pktmbuf_free(m); > if (clone) > rte_pktmbuf_free(clone); > + if (clone2) > + rte_pktmbuf_free(clone); > return -1; > } > #undef GOTO_FAIL >
Self-nak on this one, it should of course be rte_pktmbuf_free(clone2)