aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/OpenAL32.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/OpenAL32.c')
-rw-r--r--OpenAL32/OpenAL32.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenAL32/OpenAL32.c b/OpenAL32/OpenAL32.c
index 678888b0..fa5a9d71 100644
--- a/OpenAL32/OpenAL32.c
+++ b/OpenAL32/OpenAL32.c
@@ -20,6 +20,9 @@
#include "alMain.h"
#include "alBuffer.h"
+#include "alFilter.h"
+#include "alEffect.h"
+#include "alAuxEffectSlot.h"
#include "alThunk.h"
CRITICAL_SECTION _alMutex;
@@ -38,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);
@@ -55,6 +61,9 @@ static void my_deinit()
once = AL_TRUE;
ReleaseALBuffers();
+ ReleaseALAuxiliaryEffectSlots();
+ ReleaseALEffects();
+ ReleaseALFilters();
FreeALConfig();
ALTHUNK_EXIT();
DeleteCriticalSection(&_alMutex);