Browse Source

Fixed bug in 9f06fabe10 - Fixed a double-free Windows MIDI device bug

tags/2021-05-28
tpoole 8 years ago
parent
commit
e8adbb118f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_devices/native/juce_win32_Midi.cpp

+ 1
- 1
modules/juce_audio_devices/native/juce_win32_Midi.cpp View File

@@ -388,7 +388,7 @@ private:
{
auto* activeHandle = parent.activeOutputHandles.getUnchecked (i);
if (han->deviceId == deviceId)
if (activeHandle->deviceId == deviceId)
{
activeHandle->refCount++;
han = activeHandle;


Loading…
Cancel
Save