fixed broken reference sharing

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1830 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-11-04 20:03:36 +00:00
parent d5a9092c9b
commit 986fce1126
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2008-11-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* 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

View File

@@ -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