zephyr/samples/subsys
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
..
canbus samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
console samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
debug samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
display samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
edac samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
fs tests/samples: Replace minimal libc malloc configs with common ones 2023-04-27 20:17:24 +09:00
input samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
ipc samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
logging samples/logging/syst: Use FULL_LIBC_SUPPORTED helper Kconfig symbol 2023-04-27 20:18:11 +09:00
lorawan samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
mgmt samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
modbus samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
nvs samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
pm samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
portability samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
rtio/sensor_batch_processing rtio: fix bug in mempool release API 2023-05-01 09:26:06 -05:00
settings samples: subsys: settings: add esp32s3 overlay 2023-04-28 10:08:16 +02:00
shell shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
task_wdt samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
testsuite pytest: Fix typo in comment in pytest suite 2023-02-19 20:41:34 -05:00
tracing samples: Updated README for tracing application sample 2023-03-22 11:41:56 +01:00
usb tests/samples: Replace minimal libc malloc configs with common ones 2023-04-27 20:17:24 +09:00
usb_c samples, tests: cleanup void main usage. 2023-04-28 20:39:14 +02:00
video samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
zbus samples: zbus: fix variable sizes and simplify benchmark sample 2023-04-14 12:14:29 -05:00
subsys.rst