From b5a2baafe599467be5eb6e7c2c932b3447c2611f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 21 Jan 2008 15:34:38 -0800 Subject: Remove effect slot thunk entry when deallocated forcefully --- OpenAL32/alAuxEffectSlot.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3