diff options
author | Chris Robinson <[email protected]> | 2011-08-31 13:36:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-31 13:36:47 -0700 |
commit | ee5ff943f35b9332562d9a433fae825361313dfb (patch) | |
tree | bd06fe4570f230945b9331a69bcb85919d518bcc /OpenAL32/alAuxEffectSlot.c | |
parent | b28f48c1bdf343ecc0a3e1dbed958b13fbba32e7 (diff) |
Fix a potential infinite loop when removing an effect slot
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 06eb629f..a7a0504b 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -495,6 +495,7 @@ static ALvoid RemoveEffectSlotArray(ALCcontext *Context, ALeffectslot *slot) Context->ActiveEffectSlotCount--; break; } + slotlist++; } } |