diff options
author | Chris Robinson <[email protected]> | 2024-01-01 00:39:33 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2024-01-01 00:39:33 -0800 |
commit | 2f2edb326128c56e269a171961d991d8d7936e4f (patch) | |
tree | d71b748970e81ef91d2d21f0ca824843f18ebaee /al/source.cpp | |
parent | 32de7572ea2f97fd87f94cbf0843b6aaa551b560 (diff) |
Use standard operator new[] and delete[] for aligned allocations
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 2 |
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; } |