aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/event.cpp')
-rw-r--r--OpenAL32/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/event.cpp b/OpenAL32/event.cpp
index 1dc2745f..d6fa01fb 100644
--- a/OpenAL32/event.cpp
+++ b/OpenAL32/event.cpp
@@ -34,7 +34,7 @@ static int EventThread(ALCcontext *context)
if(evt.EnumType == EventType_ReleaseEffectState)
{
- ALeffectState_DecRef(evt.u.EffectState);
+ evt.u.mEffectState->DecRef();
continue;
}