mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
Fix memory leak when converting sounds to .wav
This wasted 6MB of memory oops
This commit is contained in:
parent
51118ed297
commit
77eb9ea8fd
@ -687,6 +687,7 @@ static void SoundPatcher_Save(const char* name, struct HttpRequest* req) {
|
||||
|
||||
res = dst.Close(&dst);
|
||||
if (res) Logger_Warn(res, "closing .wav file");
|
||||
Vorbis_Free(&ctx);
|
||||
}
|
||||
|
||||
static void MusicPatcher_Save(const char* name, struct HttpRequest* req) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user