diff options
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r-- | al/buffer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp index 93484e7d..b89ad5af 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -1526,6 +1526,9 @@ END_API_FUNC BufferSubList::~BufferSubList() { + if(!Buffers) + return; + uint64_t usemask{~FreeMask}; while(usemask) { |