zephyr/samples
Sean Farrelly 9e28e9e564 samples: Bluetooth: Broadcast Audio Source: Fix potential memory leak
In error cases, where send_data() returns early, the allocated net_buf
is not free'd, causing a memory leak affecting the net_buf pool.
Fix this by freeing the allocated net_buf before returning early
from send_data().

Signed-off-by: Sean Farrelly <sean.farrelly@outlook.com>
2024-02-14 14:28:28 +01:00
..
application_development samples/code_relocation_nocopy: Increase fake flash size 2023-11-20 06:07:58 -05:00
arch samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
basic samples: add Wio Terminal overlay to blinky pwm 2024-01-15 13:56:51 -05:00
bluetooth samples: Bluetooth: Broadcast Audio Source: Fix potential memory leak 2024-02-14 14:28:28 +01:00
boards samples: boards: stm32: pm: suspend_to_ram: add wba standby sample 2024-01-30 18:01:00 +01:00
charger drivers: charger: Adds charge_enable handler 2023-12-12 10:49:39 -06:00
compression samples: lz4: reduce malloc arena size 2023-11-14 09:04:11 +01:00
cpp samples: cpp: add a Hello, world! C++ app 2024-01-17 09:56:34 +01:00
drivers samples: tests: mbox: Add lpcpresso55s69 support 2024-02-02 09:31:33 -06:00
fuel_gauge fuel_gauge: Repl property struct w/ union 2023-09-27 12:07:59 +02:00
hello_world samples: Switch integration_platforms from native_posix to native_sim 2023-11-20 12:02:48 +01:00
kernel samples/kernel/metairq_dispatch: Correct comment 2023-11-20 12:02:48 +01:00
modules thrift: null-terminate certificates in samples and tests 2024-02-13 19:36:58 +01:00
net samples: cellular_modem: add device specific config 2024-02-06 18:55:19 +01:00
philosophers samples: philosophers: remove redundant items in prj.conf 2024-02-01 05:26:24 -05:00
posix samples: posix: gettimeofday: Fix fatal error caused by small stack 2024-02-14 10:58:42 +01:00
sensor samples: doc: Add README for Grove sensor samples 2024-02-14 00:44:29 +01:00
shields sample/shield: x-nucleo-iks01a3: add support to lis2de12 on DIL24 2024-01-31 15:39:45 +01:00
subsys samples: mgmt: mcumgr: smp_svr: Fix shell mgmt overlay 2024-02-12 13:20:32 +01:00
synchronization samples: synchronization: add static thread 2023-11-16 09:25:33 +01:00
tfm_integration tfm: Provide properties for selected TF-M toolchain for NS application 2024-01-17 16:52:52 +01:00
userspace samples: hello_world_user: fail in compilation if userspace is not enabled 2024-01-12 08:32:54 -05:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
index.rst doc: samples: Fix incorrect maxdepth for some toctrees 2023-09-26 12:02:54 +02:00
sample_definition_and_criteria.rst docs: Sample definition: Replace native_posix with native_sim 2023-11-20 12:02:48 +01:00