diff --git a/ChangeLog b/ChangeLog index c2bab04cd..ba66a7ca1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-11-04 Tobias Doerffel + * plugins/sf2_player/sf2_player.cpp: + fixed broken reference sharing + * include/automatable_model.h: * src/core/automatable_model.cpp: fixed loops when adding a controller to a model which is linked to diff --git a/plugins/sf2_player/sf2_player.cpp b/plugins/sf2_player/sf2_player.cpp index 894deb0aa..1589d24ab 100644 --- a/plugins/sf2_player/sf2_player.cpp +++ b/plugins/sf2_player/sf2_player.cpp @@ -299,7 +299,7 @@ void sf2Instrument::freeFont( void ) cout << "Really deleting " << m_filename << endl; fluid_synth_sfunload( m_synth, m_fontId, TRUE ); - + s_fonts.remove( m_filename ); delete m_font; } // Just remove our reference