zephyr/samples/subsys/rtio/sensor_batch_processing
Yuval Peress 3fd0a1508b rtio: fix bug in mempool release API
It was previously assumed that the 'sys_mem_blocks' struct would maintain
information about contiguous blocks allocated so the release API only
took the starting address. This led to an issue where allocating 2+
blocks would end up with a memory leak because any block not being the
first would never be released.

Add the buffer length as an argument so the correct number of blocks can
be released. Also, ammend the tests to match and verify.

Signed-off-by: Yuval Peress <peress@google.com>
2023-05-01 09:26:06 -05:00
..
dts/bindings
src rtio: fix bug in mempool release API 2023-05-01 09:26:06 -05:00
app.overlay samples: subsys: Remove label property from devicetree overlays 2022-07-19 10:30:20 +02:00
CMakeLists.txt
prj.conf rtio: Update sensor_batch_processing sample 2023-04-10 18:34:43 -04:00
sample.yaml tests: samples: revert timeout change for FVP BaseR 2022-08-16 15:51:38 +02:00