aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp
index af58379b..425acbfa 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -3643,7 +3643,7 @@ SourceSubList::~SourceSubList()
std::destroy_at(al::to_address(Sources->begin() + idx));
}
FreeMask = ~usemask;
- al_free(Sources);
+ al_free(alignof(ALsource), Sources);
Sources = nullptr;
}