summaryrefslogtreecommitdiff
path: root/gtk2_ardour/hit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/hit.cc')
-rw-r--r--gtk2_ardour/hit.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/hit.cc b/gtk2_ardour/hit.cc
index de63e187e4..feb8ca43db 100644
--- a/gtk2_ardour/hit.cc
+++ b/gtk2_ardour/hit.cc
@@ -39,6 +39,11 @@ Hit::Hit (MidiRegionView& region, Group* group, double size, const boost::shared
set_height (size);
}
+Hit::~Hit ()
+{
+ delete _polygon;
+}
+
void
Hit::move_event (double dx, double dy)
{