summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-18 00:56:01 -0800
committerChris Robinson <[email protected]>2008-01-18 00:56:01 -0800
commit1b9d740244de7b217c7d3382a7dc3f9bf4c7f403 (patch)
tree75a6cb06e2c7aa6b920542e7ac06568c133e742a /OpenAL32/alSource.c
parent497ada9c77b5a8434a4fb09ab00251ee680b5340 (diff)
Remove duplicated source freeing code
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index f48ef304..ec1db1a4 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2297,6 +2297,7 @@ ALvoid ReleaseALSources(ALCcontext *Context)
Context->Source = Context->Source->next;
// Release source structure
+ ALTHUNK_REMOVEENTRY(temp->source);
memset(temp, 0, sizeof(ALsource));
free(temp);
}