summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc
index ff7b8ad529..cdbde54961 100644
--- a/gtk2_ardour/tempo_lines.cc
+++ b/gtk2_ardour/tempo_lines.cc
@@ -36,6 +36,12 @@ TempoLines::TempoLines (ArdourCanvas::Container* group, double, ARDOUR::BeatsFra
lines.set_extent (ArdourCanvas::COORD_MAX);
}
+TempoLines::~TempoLines ()
+{
+ delete _bfc;
+ _bfc = 0;
+}
+
void
TempoLines::tempo_map_changed()
{