aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index ff5f3c78..bae464cc 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1265,7 +1265,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
while(s < MAX_SENDS)
{
if(source->Send[s].Slot)
- source->Send[s].Slot->refcount--;
+ DecrementRef(&source->Send[s].Slot->ref);
source->Send[s].Slot = NULL;
source->Send[s].WetFilter.type = 0;
source->Send[s].WetFilter.filter = 0;