diff --git a/Plugins/MIDI/MIDI/BMPlayer.cpp b/Plugins/MIDI/MIDI/BMPlayer.cpp index b251a2390..295d33011 100644 --- a/Plugins/MIDI/MIDI/BMPlayer.cpp +++ b/Plugins/MIDI/MIDI/BMPlayer.cpp @@ -84,6 +84,10 @@ HSOUNDFONT cache_open( const char * path ) entry.handle = font; entry.ref_count = 1; } + else + { + Cache_List.erase( path ); + } } else font = entry.handle;