Remove effect slot thunk entry when deallocated forcefully

This commit is contained in:
Chris Robinson
2008-01-21 15:34:38 -08:00
parent 781e4e5be4
commit b5a2baafe5
+1
View File
@@ -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);