summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 4c25989c0a..39f6fc4ff7 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -323,7 +323,6 @@ Session::destroy ()
playlists.reset ();
delete _locations;
- delete _speakers;
DEBUG_TRACE (DEBUG::Destruction, "Session::destroy() done\n");
@@ -4175,10 +4174,10 @@ Session::ensure_search_path_includes (const string& path, DataType type)
}
}
-Speakers&
+boost::shared_ptr<Speakers>
Session::get_speakers()
{
- return *_speakers;
+ return _speakers;
}
list<string>