diff options
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/al/source.cpp b/al/source.cpp index afb63c6d..f51c3bca 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -4033,6 +4033,9 @@ void UpdateAllSourceProps(ALCcontext *context) SourceSubList::~SourceSubList() { + if(!Sources) + return; + uint64_t usemask{~FreeMask}; while(usemask) { |