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

2018-10-24 Thread Thomas Monjalon
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") >

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

2018-10-23 Thread 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.j...@nxp.com Signed-off-by: Shreya