Fix a couple of memory leaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8987 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
165a38e74e
commit
9e5f5ed0ee
|
@ -186,7 +186,7 @@ MidiGhostRegion::MidiGhostRegion(MidiStreamView& msv, TimeAxisView& source_tv, d
|
|||
|
||||
MidiGhostRegion::~MidiGhostRegion()
|
||||
{
|
||||
|
||||
clear_events ();
|
||||
}
|
||||
|
||||
MidiGhostRegion::Event::Event(ArdourCanvas::CanvasNoteEvent* e)
|
||||
|
@ -203,7 +203,7 @@ MidiGhostRegion::Note::Note(ArdourCanvas::CanvasNote* n, ArdourCanvas::Group* g)
|
|||
|
||||
MidiGhostRegion::Note::~Note()
|
||||
{
|
||||
|
||||
delete rect;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue
Block a user