diff options
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r-- | Alc/alcReverb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index b3de2fad..e7dad6bb 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -1178,7 +1178,7 @@ static ALvoid ALreverbState_Update(ALreverbState *State, ALCdevice *Device, cons // This destroys the reverb state. It should be called only when the effect // slot has a different (or no) effect loaded over the reverb effect. -static ALvoid ALreverbState_Destroy(ALreverbState *State) +static ALvoid ALreverbState_Destruct(ALreverbState *State) { free(State->SampleBuffer); State->SampleBuffer = NULL; @@ -1287,7 +1287,7 @@ static ALeffectState *ALreverbStateFactory_create(void) static ALvoid ALreverbStateFactory_destroy(ALeffectState *effect) { ALreverbState *state = STATIC_UPCAST(ALreverbState, ALeffectState, effect); - ALreverbState_Destroy(state); + ALreverbState_Destruct(state); free(state); } |