Browse Source

Linux: Fixed a potential use-after-free bug in the ALSA MIDI code

tags/2021-05-28
ed 6 years ago
parent
commit
5089f74305
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_devices/native/juce_linux_Midi.cpp

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

@@ -279,7 +279,7 @@ public:
void deletePort (Port* port)
{
ports.remove (port->portId);
ports.set (port->portId, nullptr);
decReferenceCount();
}


Loading…
Cancel
Save