[dpdk-dev] [PATCH 5/5] test/mbuf: verify that cloning a clone works properly
Olivier MATZ
olivier.matz at 6wind.com
Thu Mar 26 09:48:24 CET 2015
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)
More information about the dev
mailing list