From 9e5f5ed0ee6d885808d1f0e4a5d2e2abd52958f1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 28 Feb 2011 04:14:23 +0000 Subject: [PATCH] Fix a couple of memory leaks. git-svn-id: svn://localhost/ardour2/branches/3.0@8987 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ghostregion.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index 1ce5b69093..27ab4334a9 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -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