From 1a448b2e927cb99b3b9e5ef9b760d6052d866d77 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 23 Oct 2021 07:57:17 -0700 Subject: Fix a double-release --- alc/backends/dsound.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'alc/backends') 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 -- cgit v1.2.3