Remove effect slot thunk entry when deallocated forcefully
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user