aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/OpenAL32.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/OpenAL32.c')
-rw-r--r--OpenAL32/OpenAL32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/OpenAL32.c b/OpenAL32/OpenAL32.c
index fa5a9d71..a49f5b29 100644
--- a/OpenAL32/OpenAL32.c
+++ b/OpenAL32/OpenAL32.c
@@ -44,6 +44,7 @@ BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved)
ReleaseALAuxiliaryEffectSlots();
ReleaseALEffects();
ReleaseALFilters();
+ ReleaseALC();
FreeALConfig();
ALTHUNK_EXIT();
DeleteCriticalSection(&_alMutex);
@@ -64,6 +65,7 @@ static void my_deinit()
ReleaseALAuxiliaryEffectSlots();
ReleaseALEffects();
ReleaseALFilters();
+ ReleaseALC();
FreeALConfig();
ALTHUNK_EXIT();
DeleteCriticalSection(&_alMutex);