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

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