diff options
-rw-r--r-- | OpenAL32/alDatabuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alDatabuffer.c b/OpenAL32/alDatabuffer.c index 06a5a94f..cbe65a09 100644 --- a/OpenAL32/alDatabuffer.c +++ b/OpenAL32/alDatabuffer.c @@ -155,7 +155,7 @@ AL_API ALvoid AL_APIENTRY alDeleteDatabuffersEXT(ALsizei n, const ALuint *buffer // Release buffer structure RemoveUIntMapKey(&device->DatabufferMap, ALBuf->databuffer); - ALTHUNK_REMOVEENTRY(puiBuffers[i]); + ALTHUNK_REMOVEENTRY(ALBuf->databuffer); memset(ALBuf, 0, sizeof(ALdatabuffer)); free(ALBuf); |