summaryrefslogtreecommitdiffstats
path: root/OpenAL32/OpenAL32.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-17 17:08:44 -0800
committerChris Robinson <[email protected]>2007-12-17 17:08:44 -0800
commit91d214d7130a5467ec7bb2860b2da3477998d12b (patch)
tree3c3911d5139c78c30adafdfd9619c39ee7bb4d89 /OpenAL32/OpenAL32.c
parent635f673b95e30d4681c47792a58a2b0c6b69ea9f (diff)
Release left over filters on close
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 b638d945..db317800 100644
--- a/OpenAL32/OpenAL32.c
+++ b/OpenAL32/OpenAL32.c
@@ -20,6 +20,7 @@
#include "alMain.h"
#include "alBuffer.h"
+#include "alFilter.h"
#include "alThunk.h"
CRITICAL_SECTION g_mutex;
@@ -55,6 +56,7 @@ static void my_deinit()
once = AL_TRUE;
ReleaseALBuffers();
+ ReleaseALFilters();
FreeALConfig();
ALTHUNK_EXIT();
DeleteCriticalSection(&g_mutex);