diff options
author | nick_m <mainsbridge@gmail.com> | 2017-06-09 01:56:28 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-06-09 01:56:28 +1000 |
commit | b086d33937d3cb593dbcea2dc27b68f1c3521a90 (patch) | |
tree | da86121a9f78df29cabb154820a7f2d357b3c6b5 /gtk2_ardour/tempo_lines.cc | |
parent | cebefe69d9456ab57fc61128a7931baccef899bc (diff) |
TempoLines deletes its bfc on destruction
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 6 |
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() { |