aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/state.cpp')
-rw-r--r--al/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/state.cpp b/al/state.cpp
index 884aa9d2..64cbae6e 100644
--- a/al/state.cpp
+++ b/al/state.cpp
@@ -827,7 +827,7 @@ void UpdateContextProps(ALCcontext *context)
/* Get an unused proprty container, or allocate a new one as needed. */
ALcontextProps *props{context->mFreeContextProps.load(std::memory_order_acquire)};
if(!props)
- props = static_cast<ALcontextProps*>(al_calloc(16, sizeof(*props)));
+ props = new ALcontextProps{};
else
{
ALcontextProps *next;