From ff5c9d1c15302473be7e0ea3b5da2643549e8d6c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 22 Aug 2020 22:45:26 -0700 Subject: Use an intrusive_ptr for ALeffectslotProps::State --- alc/alc.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'alc/alc.cpp') diff --git a/alc/alc.cpp b/alc/alc.cpp index c349a4ba..edefe9a1 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2353,7 +2353,6 @@ ALCcontext::~ALCcontext() while(eprops) { ALeffectslotProps *next{eprops->next.load(std::memory_order_relaxed)}; - if(eprops->State) eprops->State->release(); delete eprops; eprops = next; ++count; -- cgit v1.2.3