summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-21 15:34:38 -0800
committerChris Robinson <[email protected]>2008-01-21 15:34:38 -0800
commitb5a2baafe599467be5eb6e7c2c932b3447c2611f (patch)
tree21da01121bf97b621ffe0156d2f16e8e83e45c15 /OpenAL32/alAuxEffectSlot.c
parent781e4e5be43e1ce7ca5fcf04c8f1d2b0223eca66 (diff)
Remove effect slot thunk entry when deallocated forcefully
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r--OpenAL32/alAuxEffectSlot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index e20e3a45..f80c31a0 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -528,6 +528,7 @@ ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context)
// Release effectslot structure
free(temp->ReverbBuffer);
+ ALTHUNK_REMOVEENTRY(temp->effectslot);
memset(temp, 0, sizeof(ALeffectslot));
free(temp);