diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-01 10:58:56 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-01 10:58:56 -0400 |
commit | 73f967c330fcd2a81f4fa3db3d08a77a7c1b003b (patch) | |
tree | 021b6380dbe106454be3a3aae4a64b7f5430c130 /libs/ardour/session_state.cc | |
parent | 36140d4d0104e65b71f9339588da38b05249e447 (diff) |
delete tempo map at appropriate times
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index ffebcaecb8..1efd68913a 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -237,6 +237,7 @@ Session::post_engine_init () try { /* tempo map requires sample rate knowledge */ + delete _tempo_map; _tempo_map = new TempoMap (_current_frame_rate); _tempo_map->PropertyChanged.connect_same_thread (*this, boost::bind (&Session::tempo_map_changed, this, _1)); |