avoid double-free of MIDI sys ex and patch change canvas items
This commit is contained in:
@@ -75,7 +75,7 @@ PatchChange::PatchChange (MidiView& region,
|
||||
|
||||
PatchChange::~PatchChange ()
|
||||
{
|
||||
delete _flag;
|
||||
/* _flag is deleted by the canvas container/parent it is placed in */
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -55,7 +55,7 @@ SysEx::SysEx (
|
||||
|
||||
SysEx::~SysEx()
|
||||
{
|
||||
delete _flag;
|
||||
/* _flag is deleted by the canvas container/parent it is placed in */
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user