[PATCH 2/2] test/reorder: fix double free of drained buffers

David Marchand david.marchand at redhat.com
Thu Jan 26 16:51:37 CET 2023


On Sat, Jan 7, 2023 at 4:20 PM Volodymyr Fialko <vfialko at marvell.com> wrote:
>
> Set to zero array of drained buffers after free, to prevent freeing them
> one more time.
> Discovered with enabled `RTE_LIBRTE_MEMPOOL_DEBUG`.

Good catch, having those debug options enabled in the CI could be interesting.
Cc: CI people, for info.


-- 
David Marchand



More information about the dev mailing list