aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-22 13:18:05 -0800
committerChris Robinson <[email protected]>2007-12-22 13:18:05 -0800
commitd6288d63c68be95fd30471e37783a525434df7e4 (patch)
treea8457ec2818dc75cb0f04f87e39eaf013b92d5ea /OpenAL32
parent96bd020bd3663233e1273147cbda61d4f3ec01b3 (diff)
Release the new stuff on exit for Windows, too
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/OpenAL32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/OpenAL32.c b/OpenAL32/OpenAL32.c
index 8510c7cb..fa5a9d71 100644
--- a/OpenAL32/OpenAL32.c
+++ b/OpenAL32/OpenAL32.c
@@ -41,6 +41,9 @@ BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved)
case DLL_PROCESS_DETACH:
ReleaseALBuffers();
+ ReleaseALAuxiliaryEffectSlots();
+ ReleaseALEffects();
+ ReleaseALFilters();
FreeALConfig();
ALTHUNK_EXIT();
DeleteCriticalSection(&_alMutex);