Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix leak in cause of not closing the vorbis decoder #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix leak in cause of not closing the vorbis decoder
NewXtSI authored Jan 20, 2025
commit fc3a760b7d0cc98c542d20801124f5c4a59b1810
1 change: 1 addition & 0 deletions src/libs/stb_vorbis.c
Original file line number Diff line number Diff line change
@@ -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;
}