From 5bada6d5332937fca4071edc8f2b2f8c093e9af8 Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 24 Dec 2016 02:14:43 +1100 Subject: fix leak in MGR _note_group --- gtk2_ardour/ghostregion.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index ba8ee05a46..9dd0a49fda 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -212,6 +212,7 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv, MidiGhostRegion::~MidiGhostRegion() { clear_events (); + delete _note_group; } MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g) -- cgit v1.2.3