aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-23 07:57:17 -0700
committerChris Robinson <[email protected]>2021-10-23 07:57:17 -0700
commit1a448b2e927cb99b3b9e5ef9b760d6052d866d77 (patch)
tree9eb23dd2a860ba452fb2a580bc67899a9bf5fc79 /alc/backends
parentd0e5e138e279f40f92b7d41d885695a206ec36c0 (diff)
Fix a double-release
Diffstat (limited to 'alc/backends')
-rw-r--r--alc/backends/dsound.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/alc/backends/dsound.cpp b/alc/backends/dsound.cpp
index acac4786..0edc286f 100644
--- a/alc/backends/dsound.cpp
+++ b/alc/backends/dsound.cpp
@@ -446,8 +446,6 @@ retry_open:
else
OutputType.SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
- if(mPrimaryBuffer)
- mPrimaryBuffer->Release();
mPrimaryBuffer = nullptr;
}
else