aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-04 20:35:32 -0700
committerChris Robinson <[email protected]>2016-07-04 20:35:32 -0700
commit8f4d6c48ce6621e2e2b79ada781b9e3dfc9ed38c (patch)
treef0e16e88cfaea9d89f019efa2637324060d0e0e4 /OpenAL32/alBuffer.c
parentf0cbcdc928b6a0615199dde56f3b7f0ac31cc6cb (diff)
Use separate arrays for UIntMap keys and values
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 193ab44f..c52924a9 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -1402,8 +1402,8 @@ ALvoid ReleaseALBuffers(ALCdevice *device)
ALsizei i;
for(i = 0;i < device->BufferMap.size;i++)
{
- ALbuffer *temp = device->BufferMap.array[i].value;
- device->BufferMap.array[i].value = NULL;
+ ALbuffer *temp = device->BufferMap.values[i];
+ device->BufferMap.values[i] = NULL;
al_free(temp->data);