diff options
Diffstat (limited to 'src/client/snd_codec_wav.c')
-rw-r--r-- | src/client/snd_codec_wav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/snd_codec_wav.c b/src/client/snd_codec_wav.c index adba7568..140bc10d 100644 --- a/src/client/snd_codec_wav.c +++ b/src/client/snd_codec_wav.c @@ -219,7 +219,7 @@ void *S_WAV_CodecLoad(const char *filename, snd_info_t *info) } // Allocate some memory - buffer = Z_Malloc(info->size); + buffer = Hunk_AllocateTempMemory(info->size); if(!buffer) { FS_FCloseFile(file); |