This website works better with JavaScript.
Home
Help
Sign In
jackaudio
/
jack2
mirror of
https://github.com/jackaudio/jack2
Watch
1
Star
0
Fork
0
Code
Releases
45
Activity
Browse Source
Fix bad deallocation in JackMidiAsyncQueue.
The code is only run when other allocations fail, fix it anyway. This was found by llvm scan-build.
tags/v1.9.21
Florian Walpen
Filipe Coelho
<falktx@falktx.com>
2 years ago
parent
58194d90f4
commit
d8f59c2f80
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
common/JackMidiAsyncQueue.cpp
+ 1
- 1
common/JackMidiAsyncQueue.cpp
View File
@@ -38,7 +38,7 @@ JackMidiAsyncQueue::JackMidiAsyncQueue(size_t max_bytes, size_t max_messages)
}
jack_ringbuffer_free(byte_ring);
}
delete data_buffer;
delete
[]
data_buffer;
throw std::bad_alloc();
}
Write
Preview
Loading…
Cancel
Save