aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2020-08-22 22:45:26 -0700
committerChris Robinson <chris.kcat@gmail.com>2020-08-24 14:09:26 -0700
commitff5c9d1c15302473be7e0ea3b5da2643549e8d6c (patch)
tree9e8e1f07cd2a1c28fd3bc75f41f1cd552c570079 /alc/alc.cpp
parent01f76f2b671c21c976b1f88c18845a53000afa6b (diff)
Use an intrusive_ptr for ALeffectslotProps::State
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp1
1 files changed, 0 insertions, 1 deletions
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;