nuttx/audio
cenzhanquan1 435e31ea8b nuttx/audio: fix memory leak in audio_open error path
When priv allocation fails in audio_open(), the previously allocated
upper->status is not freed, causing a memory leak. Add cleanup code
in the error path to free upper->status when allocation fails.

Signed-off-by: cenzhanquan1 <cenzhanquan1@xiaomi.com>
2026-04-21 01:35:52 +08:00
..
CMakeLists.txt Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
Kconfig nuttx/audio: Add amr and opus format control switches 2026-04-21 00:39:43 +08:00
Makefile Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
audio.c nuttx/audio: fix memory leak in audio_open error path 2026-04-21 01:35:52 +08:00
audio_comp.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
pcm_decode.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00