From fc3a760b7d0cc98c542d20801124f5c4a59b1810 Mon Sep 17 00:00:00 2001 From: NewXtSI <59566898+NewXtSI@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:52:02 +0100 Subject: [PATCH] Fix leak in cause of not closing the vorbis decoder --- src/libs/stb_vorbis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/stb_vorbis.c b/src/libs/stb_vorbis.c index 00446031..6ec7d77f 100644 --- a/src/libs/stb_vorbis.c +++ b/src/libs/stb_vorbis.c @@ -4992,6 +4992,7 @@ int stb_vorbis_decode_memory(uint8 *mem, int len, int *channels, short **output) data = data2; } } + stb_vorbis_close(v); *output = data; return data_len; }