Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Mallets crash when STK rawwave files can't be loaded
  • Loading branch information
PhysSong committed May 30, 2018
1 parent 24ae559 commit 75a6502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/stk/mallets/mallets.h
Expand Up @@ -85,7 +85,7 @@ class malletsSynth

inline ~malletsSynth()
{
m_voice->noteOff( 0.0 );
if (m_voice) {m_voice->noteOff(0.0);}
delete[] m_delay;
delete m_voice;
}
Expand Down

0 comments on commit 75a6502

Please sign in to comment.