aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r--al/buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp
index 46ef8ece..646ec8ea 100644
--- a/al/buffer.cpp
+++ b/al/buffer.cpp
@@ -1490,7 +1490,7 @@ BufferSubList::~BufferSubList()
usemask &= ~(1_u64 << idx);
}
FreeMask = ~usemask;
- al_free(Buffers);
+ al_free(alignof(ALbuffer), Buffers);
Buffers = nullptr;
}