1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

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

This commit is contained in:
ed 2019-05-10 09:47:20 +01:00
parent fefeba63b8
commit 5089f74305

View file

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