fixed broken reference sharing (stable backport)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1831 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-11-04 20:04:14 +00:00
parent 062b615bd1
commit 6f78e46035
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