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/filter.cpp | |
parent | 32de7572ea2f97fd87f94cbf0843b6aaa551b560 (diff) |
Use standard operator new[] and delete[] for aligned allocations
Diffstat (limited to 'al/filter.cpp')
-rw-r--r-- | al/filter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/filter.cpp b/al/filter.cpp index 0a999169..b67a65f7 100644 --- a/al/filter.cpp +++ b/al/filter.cpp @@ -700,6 +700,6 @@ FilterSubList::~FilterSubList() usemask &= ~(1_u64 << idx); } FreeMask = ~usemask; - al_free(Filters); + al_free(alignof(ALfilter), Filters); Filters = nullptr; } |