[dpdk-dev] [PATCH] raw/skeleton_rawdev: fix memory leak on test failure

Thomas Monjalon thomas at monjalon.net
Thu Oct 25 00:54:07 CEST 2018


24/10/2018 07:33, Shreyansh Jain:
> In skeleton_rawdev unit tests, a malloc'd memory was leaking in case
> the next sequential test fails. This fix moves the free of the
> malloc'd memory above the failing test.
> 
> Coverity issue: 260402
> 
> Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases")
> Cc: shreyansh.jain at nxp.com
> 
> Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>

Applied, thanks




More information about the dev mailing list