whisper.cpp/examples
petterreinholdtsen 47b9eb37a3
examples : fix memory leak in read_audio_data (#3810)
This commit addresses a memory leak in the `read_audio_data` function
where it is currently possible that a call to `ma_decoder_init_file`
succeeds and the function returns early without calling
`ma_decoder_uninit`. A similar situation can occur with
`ma_decoder_init_memory`.

Refs: https://bugs.debian.org/1124796

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
2026-05-18 12:16:39 +02:00
..
addon.node vad : Silero VAD v6.2.0 (#3524) 2025-11-17 22:26:17 +09:00
bench bench : sync submit-results URL to ggml-org (#3769) 2026-04-20 07:12:57 +02:00
bench.wasm bench : sync submit-results URL to ggml-org (#3769) 2026-04-20 07:12:57 +02:00
cli examples : use -dev/--device and WHISPER_ARG_DEVICE (#3557) 2026-01-21 08:40:30 +01:00
command whisper : enable flash attention by default (#3441) 2025-09-30 15:47:20 +03:00
command.wasm examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
deprecation-warning
lsp examples : fix executable example targets (#3600) 2026-01-13 08:08:18 +01:00
python
quantize examples : fix executable example targets (#3600) 2026-01-13 08:08:18 +01:00
server server : Return speaker information in JSON (#3782) 2026-05-18 09:18:04 +02:00
stream whisper : enable flash attention by default (#3441) 2025-09-30 15:47:20 +03:00
stream.wasm examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
sycl
talk-llama talk-llama : sync llama.cpp 2026-05-14 21:26:48 +03:00
vad-speech-segments examples : fix executable example targets (#3600) 2026-01-13 08:08:18 +01:00
wchess wchess : fix link [no ci] 2025-09-30 21:28:03 +03:00
whisper.android whisper : add version function (#3289) 2025-06-26 18:09:42 +02:00
whisper.android.java whisper : add version function (#3289) 2025-06-26 18:09:42 +02:00
whisper.nvim
whisper.objc
whisper.swiftui
whisper.wasm wasm : fix Hebrew ID (#3487) 2025-10-27 08:49:32 +02:00
CMakeLists.txt examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
coi-serviceworker.js
common-ggml.cpp examples : update to Q1_0 2026-05-01 13:07:33 +03:00
common-ggml.h
common-sdl.cpp
common-sdl.h
common-whisper.cpp examples : fix memory leak in read_audio_data (#3810) 2026-05-18 12:16:39 +02:00
common-whisper.h
common.cpp
common.h
ffmpeg-transcode.cpp
generate-karaoke.sh
grammar-parser.cpp
grammar-parser.h
helpers.js
json.hpp
livestream.sh
miniaudio.h examples : update miniaudio library to 0.11.24 (#3672) 2026-02-27 11:15:15 +01:00
server.py examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
stb_vorbis.c
twitch.sh
yt-wsp.sh examples : update usage/help in yt-wsp.sh (#3251) 2025-06-16 12:21:16 +02:00