summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 5635c87f..2727aa33 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1013,6 +1013,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context)
// Lock context
SuspendContext(context);
+ ReleaseALSources(context);
ReleaseALAuxiliaryEffectSlots(context);
context->Device->Context = NULL;