zephyr/tests/kernel/pipe
Nicolas Pitre 0125cabec7 test_pipe_contexts: don't free memory blocks handed to k_pipe_block_put
Documentation for k_pipe_block_put() says:

  This routine writes the data contained in a memory block to pipe.
  Once all of the data in the block has been written to the pipe,
  it will free the memory block.

Therefore it is wrong to free the memory block within the test code.
When the mempool allocator is instrumented to detect double-free
instances, this case is signaled right away.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-10-09 11:15:46 -07:00
..
pipe coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
pipe_api test_pipe_contexts: don't free memory blocks handed to k_pipe_block_put 2019-10-09 11:15:46 -07:00