diff options
author | Chris Robinson <[email protected]> | 2021-10-23 07:57:17 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-10-23 07:57:17 -0700 |
commit | 1a448b2e927cb99b3b9e5ef9b760d6052d866d77 (patch) | |
tree | 9eb23dd2a860ba452fb2a580bc67899a9bf5fc79 /alc/backends | |
parent | d0e5e138e279f40f92b7d41d885695a206ec36c0 (diff) |
Fix a double-release
Diffstat (limited to 'alc/backends')
-rw-r--r-- | alc/backends/dsound.cpp | 2 |
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 |